diff options
68 files changed, 1701 insertions, 16 deletions
diff --git a/app/Resources/static/themes/material/css/index.scss b/app/Resources/static/themes/material/css/index.scss index 285a6504..8300e430 100644 --- a/app/Resources/static/themes/material/css/index.scss +++ b/app/Resources/static/themes/material/css/index.scss | |||
@@ -8,6 +8,7 @@ | |||
8 | @import 'layout'; | 8 | @import 'layout'; |
9 | @import 'nav'; | 9 | @import 'nav'; |
10 | @import 'sidenav'; | 10 | @import 'sidenav'; |
11 | @import 'notifications'; | ||
11 | @import 'various'; | 12 | @import 'various'; |
12 | 13 | ||
13 | /* Tools */ | 14 | /* Tools */ |
diff --git a/app/Resources/static/themes/material/css/nav.scss b/app/Resources/static/themes/material/css/nav.scss index 1a25a5be..601aada2 100644 --- a/app/Resources/static/themes/material/css/nav.scss +++ b/app/Resources/static/themes/material/css/nav.scss | |||
@@ -104,3 +104,7 @@ nav { | |||
104 | #button_export { | 104 | #button_export { |
105 | display: none; | 105 | display: none; |
106 | } | 106 | } |
107 | |||
108 | #button_notifications a.nav-panel-menu { | ||
109 | max-height: 65px; | ||
110 | } | ||
diff --git a/app/Resources/static/themes/material/css/notifications.scss b/app/Resources/static/themes/material/css/notifications.scss new file mode 100644 index 00000000..60114ce4 --- /dev/null +++ b/app/Resources/static/themes/material/css/notifications.scss | |||
@@ -0,0 +1,38 @@ | |||
1 | @mixin notification { | ||
2 | .notifications-area { | ||
3 | flex-grow: 1; | ||
4 | |||
5 | .collection { | ||
6 | margin: auto; | ||
7 | } | ||
8 | } | ||
9 | |||
10 | .no-notifications { | ||
11 | position: absolute; | ||
12 | top: 40%; | ||
13 | left: 50%; | ||
14 | transform: translate(-40%, -50%); | ||
15 | } | ||
16 | |||
17 | .view-more { | ||
18 | display: block; | ||
19 | margin: auto 5px 10px; | ||
20 | flex: 0 1 2.5em; | ||
21 | } | ||
22 | |||
23 | .btn.notification-action-button { | ||
24 | display: block; | ||
25 | line-height: 25px; | ||
26 | height: auto; | ||
27 | } | ||
28 | } | ||
29 | |||
30 | .notifications-page { | ||
31 | @include notification; | ||
32 | |||
33 | .pagination { | ||
34 | float: none; | ||
35 | text-align: center; | ||
36 | margin-top: 30px; | ||
37 | } | ||
38 | } | ||
diff --git a/app/Resources/static/themes/material/css/sidenav.scss b/app/Resources/static/themes/material/css/sidenav.scss index 416dc1c7..a86eed17 100644 --- a/app/Resources/static/themes/material/css/sidenav.scss +++ b/app/Resources/static/themes/material/css/sidenav.scss | |||
@@ -2,6 +2,8 @@ | |||
2 | Side-nav | 2 | Side-nav |
3 | ========================================================================== */ | 3 | ========================================================================== */ |
4 | 4 | ||
5 | @import 'notifications'; | ||
6 | |||
5 | .side-nav { | 7 | .side-nav { |
6 | width: 240px; | 8 | width: 240px; |
7 | 9 | ||
@@ -36,6 +38,15 @@ | |||
36 | } | 38 | } |
37 | } | 39 | } |
38 | 40 | ||
41 | #notifications { | ||
42 | width: 300px; | ||
43 | display: flex; | ||
44 | flex-flow: column; | ||
45 | justify-content: space-between; | ||
46 | |||
47 | @include notification; | ||
48 | } | ||
49 | |||
39 | .bold > a { | 50 | .bold > a { |
40 | font-weight: bold; | 51 | font-weight: bold; |
41 | } | 52 | } |
diff --git a/app/Resources/static/themes/material/css/various.scss b/app/Resources/static/themes/material/css/various.scss index 7daf40ec..300015ab 100644 --- a/app/Resources/static/themes/material/css/various.scss +++ b/app/Resources/static/themes/material/css/various.scss | |||
@@ -30,3 +30,9 @@ nav .input-field input { | |||
30 | .tab { | 30 | .tab { |
31 | flex: 1; | 31 | flex: 1; |
32 | } | 32 | } |
33 | |||
34 | #notifications-count { | ||
35 | position: relative; | ||
36 | top: -50px; | ||
37 | left: 15px; | ||
38 | } | ||
diff --git a/app/Resources/static/themes/material/index.js b/app/Resources/static/themes/material/index.js index d6afbb8a..435cd02f 100755 --- a/app/Resources/static/themes/material/index.js +++ b/app/Resources/static/themes/material/index.js | |||
@@ -8,7 +8,7 @@ import 'materialize-css/dist/js/materialize'; | |||
8 | import '../_global/index'; | 8 | import '../_global/index'; |
9 | 9 | ||
10 | /* Tools */ | 10 | /* Tools */ |
11 | import { initExport, initFilters } from './js/tools'; | 11 | import { initExport, initFilters, initNotifications } from './js/tools'; |
12 | 12 | ||
13 | /* Import shortcuts */ | 13 | /* Import shortcuts */ |
14 | import './js/shortcuts/main'; | 14 | import './js/shortcuts/main'; |
@@ -34,6 +34,7 @@ $(document).ready(() => { | |||
34 | }); | 34 | }); |
35 | initFilters(); | 35 | initFilters(); |
36 | initExport(); | 36 | initExport(); |
37 | initNotifications(); | ||
37 | 38 | ||
38 | $('#nav-btn-add-tag').on('click', () => { | 39 | $('#nav-btn-add-tag').on('click', () => { |
39 | $('.nav-panel-add-tag').toggle(100); | 40 | $('.nav-panel-add-tag').toggle(100); |
diff --git a/app/Resources/static/themes/material/js/tools.js b/app/Resources/static/themes/material/js/tools.js index 39398fd8..492640a0 100644 --- a/app/Resources/static/themes/material/js/tools.js +++ b/app/Resources/static/themes/material/js/tools.js | |||
@@ -21,4 +21,11 @@ function initExport() { | |||
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | export { initExport, initFilters }; | 24 | function initNotifications() { |
25 | if ($('div').is('#notifications')) { | ||
26 | $('#button_notifications').show(); | ||
27 | $('.js-notifications-action').sideNav({ edge: 'right' }); | ||
28 | } | ||
29 | } | ||
30 | |||
31 | export { initExport, initFilters, initNotifications }; | ||
diff --git a/app/config/services.yml b/app/config/services.yml index 7b85d846..3b454760 100644 --- a/app/config/services.yml +++ b/app/config/services.yml | |||
@@ -13,14 +13,23 @@ services: | |||
13 | tags: | 13 | tags: |
14 | - { name: twig.extension } | 14 | - { name: twig.extension } |
15 | 15 | ||
16 | twig.extension.date: | ||
17 | class: Twig_Extensions_Extension_Date | ||
18 | arguments: | ||
19 | - "@translator" | ||
20 | tags: | ||
21 | - { name: twig.extension } | ||
22 | |||
16 | wallabag.twig_extension: | 23 | wallabag.twig_extension: |
17 | class: Wallabag\CoreBundle\Twig\WallabagExtension | 24 | class: Wallabag\CoreBundle\Twig\WallabagExtension |
18 | public: false | 25 | public: false |
19 | arguments: | 26 | arguments: |
20 | - "@wallabag_core.entry_repository" | 27 | - "@wallabag_core.entry_repository" |
21 | - "@wallabag_core.tag_repository" | 28 | - "@wallabag_core.tag_repository" |
29 | - "@wallabag_core.notification_repository" | ||
22 | - "@security.token_storage" | 30 | - "@security.token_storage" |
23 | - "%wallabag_core.cache_lifetime%" | 31 | - "%wallabag_core.cache_lifetime%" |
32 | - "%wallabag_core.notifications_nb%" | ||
24 | - "@translator" | 33 | - "@translator" |
25 | tags: | 34 | tags: |
26 | - { name: twig.extension } | 35 | - { name: twig.extension } |
diff --git a/app/config/wallabag.yml b/app/config/wallabag.yml index b45934e4..ab12d68a 100644 --- a/app/config/wallabag.yml +++ b/app/config/wallabag.yml | |||
@@ -22,6 +22,7 @@ wallabag_core: | |||
22 | cache_lifetime: 10 | 22 | cache_lifetime: 10 |
23 | action_mark_as_read: 1 | 23 | action_mark_as_read: 1 |
24 | list_mode: 0 | 24 | list_mode: 0 |
25 | notifications_nb: 5 | ||
25 | fetching_error_message_title: 'No title found' | 26 | fetching_error_message_title: 'No title found' |
26 | fetching_error_message: | | 27 | fetching_error_message: | |
27 | wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. | 28 | wallabag can't retrieve contents for this article. Please <a href="http://doc.wallabag.org/en/user/errors_during_fetching.html#how-can-i-help-to-fix-that">troubleshoot this issue</a>. |
diff --git a/src/Wallabag/CoreBundle/Command/AbstractNotificationCommand.php b/src/Wallabag/CoreBundle/Command/AbstractNotificationCommand.php new file mode 100644 index 00000000..b40b589a --- /dev/null +++ b/src/Wallabag/CoreBundle/Command/AbstractNotificationCommand.php | |||
@@ -0,0 +1,41 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Command; | ||
4 | |||
5 | use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; | ||
6 | use Symfony\Component\Console\Input\InputArgument; | ||
7 | use Symfony\Component\Console\Output\OutputInterface; | ||
8 | |||
9 | abstract class AbstractNotificationCommand extends ContainerAwareCommand | ||
10 | { | ||
11 | /** @var OutputInterface */ | ||
12 | protected $output; | ||
13 | |||
14 | protected function configure() | ||
15 | { | ||
16 | $this | ||
17 | ->addArgument( | ||
18 | 'username', | ||
19 | InputArgument::OPTIONAL, | ||
20 | 'User to send the notification to' | ||
21 | ) | ||
22 | ; | ||
23 | } | ||
24 | |||
25 | /** | ||
26 | * Fetches a user from its username. | ||
27 | * | ||
28 | * @param string $username | ||
29 | * | ||
30 | * @return \Wallabag\UserBundle\Entity\User | ||
31 | */ | ||
32 | protected function getUser($username) | ||
33 | { | ||
34 | return $this->getDoctrine()->getRepository('WallabagUserBundle:User')->findOneByUserName($username); | ||
35 | } | ||
36 | |||
37 | protected function getDoctrine() | ||
38 | { | ||
39 | return $this->getContainer()->get('doctrine'); | ||
40 | } | ||
41 | } | ||
diff --git a/src/Wallabag/CoreBundle/Command/AdminNotificationCommand.php b/src/Wallabag/CoreBundle/Command/AdminNotificationCommand.php new file mode 100644 index 00000000..cfde714b --- /dev/null +++ b/src/Wallabag/CoreBundle/Command/AdminNotificationCommand.php | |||
@@ -0,0 +1,103 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Command; | ||
4 | |||
5 | use Doctrine\ORM\NoResultException; | ||
6 | use Symfony\Component\Console\Input\InputArgument; | ||
7 | use Symfony\Component\Console\Input\InputInterface; | ||
8 | use Symfony\Component\Console\Input\InputOption; | ||
9 | use Symfony\Component\Console\Output\OutputInterface; | ||
10 | use Wallabag\CoreBundle\Entity\Notification; | ||
11 | use Wallabag\CoreBundle\Notifications\InfoAction; | ||
12 | use Wallabag\UserBundle\Entity\User; | ||
13 | |||
14 | class AdminNotificationCommand extends AbstractNotificationCommand | ||
15 | { | ||
16 | protected function configure() | ||
17 | { | ||
18 | $this | ||
19 | ->setName('wallabag:notification:send') | ||
20 | ->setDescription('Emits a notification to all users') | ||
21 | ->setHelp('This command helps you send notifications to all of the users instance, or just for one user.') | ||
22 | ->addArgument( | ||
23 | 'title', | ||
24 | InputArgument::REQUIRED, | ||
25 | 'Title of your notification. This is required if if the type of notification is an admin one.' | ||
26 | ) | ||
27 | ->addArgument( | ||
28 | 'message', | ||
29 | InputArgument::REQUIRED, | ||
30 | 'Message of your notification. This is required if the type of notification is an admin one.' | ||
31 | ) | ||
32 | ->addOption( | ||
33 | 'link', | ||
34 | 'l', | ||
35 | InputOption::VALUE_REQUIRED, | ||
36 | 'A link to display with the notification' | ||
37 | ) | ||
38 | ; | ||
39 | parent::configure(); | ||
40 | } | ||
41 | |||
42 | protected function execute(InputInterface $input, OutputInterface $output) | ||
43 | { | ||
44 | $this->output = $output; | ||
45 | |||
46 | $username = $input->getArgument('username'); | ||
47 | |||
48 | $message = $input->getArgument('message'); | ||
49 | $title = $input->getArgument('title'); | ||
50 | |||
51 | $link = $input->getOption('link'); | ||
52 | |||
53 | if ($username) { | ||
54 | try { | ||
55 | $user = $this->getUser($username); | ||
56 | $this->sendNotification($user, $title, $message, $link); | ||
57 | } catch (NoResultException $e) { | ||
58 | $output->writeln(sprintf('<error>User "%s" not found.</error>', $username)); | ||
59 | |||
60 | return 1; | ||
61 | } | ||
62 | } else { | ||
63 | $users = $this->getDoctrine()->getRepository('WallabagUserBundle:User')->findAll(); | ||
64 | |||
65 | $output->writeln(sprintf('Sending notifications to %d user accounts. This can take some time.', count($users))); | ||
66 | |||
67 | foreach ($users as $user) { | ||
68 | $output->writeln(sprintf('Processing user %s', $user->getUsername())); | ||
69 | $this->sendNotification($user, $title, $message, $link); | ||
70 | } | ||
71 | $output->writeln('Finished sending notifications.'); | ||
72 | } | ||
73 | |||
74 | return 0; | ||
75 | } | ||
76 | |||
77 | /** | ||
78 | * @param User $user | ||
79 | * @param $title | ||
80 | * @param $message | ||
81 | * @param null $link | ||
82 | */ | ||
83 | private function sendNotification(User $user, $title, $message, $link = null) | ||
84 | { | ||
85 | $em = $this->getContainer()->get('doctrine.orm.entity_manager'); | ||
86 | |||
87 | $notification = new Notification($user); | ||
88 | $notification->setTitle($title) | ||
89 | ->setDescription($message) | ||
90 | ->setType(Notification::TYPE_ADMIN); | ||
91 | |||
92 | if ($link) { | ||
93 | $action = new InfoAction($link); | ||
94 | |||
95 | $notification->addAction($action); | ||
96 | } | ||
97 | |||
98 | $em->persist($notification); | ||
99 | $em->flush(); | ||
100 | |||
101 | $this->output->writeln(sprintf('Sent notification for user %s', $user->getUserName())); | ||
102 | } | ||
103 | } | ||
diff --git a/src/Wallabag/CoreBundle/Command/ReleaseNotificationCommand.php b/src/Wallabag/CoreBundle/Command/ReleaseNotificationCommand.php new file mode 100644 index 00000000..cd9c61a3 --- /dev/null +++ b/src/Wallabag/CoreBundle/Command/ReleaseNotificationCommand.php | |||
@@ -0,0 +1,88 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Command; | ||
4 | |||
5 | use Doctrine\ORM\NoResultException; | ||
6 | use Symfony\Component\Console\Input\InputArgument; | ||
7 | use Symfony\Component\Console\Input\InputInterface; | ||
8 | use Symfony\Component\Console\Output\OutputInterface; | ||
9 | use Wallabag\CoreBundle\Entity\Notification; | ||
10 | use Wallabag\CoreBundle\Notifications\Action; | ||
11 | use Wallabag\UserBundle\Entity\User; | ||
12 | |||
13 | class ReleaseNotificationCommand extends AbstractNotificationCommand | ||
14 | { | ||
15 | /** @var OutputInterface */ | ||
16 | protected $output; | ||
17 | |||
18 | protected function configure() | ||
19 | { | ||
20 | $this | ||
21 | ->setName('wallabag:notification:release') | ||
22 | ->setDescription('Emits a notification to all users to let them know of a new release') | ||
23 | ->setHelp('This command helps you send a release notification to all of the users instance, or just for one user.') | ||
24 | ->addArgument( | ||
25 | 'link', | ||
26 | InputArgument::OPTIONAL, | ||
27 | 'A link to display with the notification' | ||
28 | ) | ||
29 | ; | ||
30 | parent::configure(); | ||
31 | } | ||
32 | |||
33 | protected function execute(InputInterface $input, OutputInterface $output) | ||
34 | { | ||
35 | $this->output = $output; | ||
36 | |||
37 | $username = $input->getArgument('username'); | ||
38 | |||
39 | $link = $input->getArgument('link'); | ||
40 | |||
41 | if ($username) { | ||
42 | try { | ||
43 | $user = $this->getUser($username); | ||
44 | $this->sendNotification($user, $link); | ||
45 | } catch (NoResultException $e) { | ||
46 | $output->writeln(sprintf('<error>User "%s" not found.</error>', $username)); | ||
47 | |||
48 | return 1; | ||
49 | } | ||
50 | } else { | ||
51 | $users = $this->getDoctrine()->getRepository('WallabagUserBundle:User')->findAll(); | ||
52 | |||
53 | $output->writeln(sprintf('Sending notifications to %d user accounts. This can take some time.', count($users))); | ||
54 | |||
55 | foreach ($users as $user) { | ||
56 | $output->writeln(sprintf('Processing user %s', $user->getUsername())); | ||
57 | $this->sendNotification($user, $link); | ||
58 | } | ||
59 | $output->writeln('Finished sending notifications.'); | ||
60 | } | ||
61 | |||
62 | return 0; | ||
63 | } | ||
64 | |||
65 | /** | ||
66 | * @param User $user | ||
67 | */ | ||
68 | private function sendNotification(User $user, $link) | ||
69 | { | ||
70 | $em = $this->getContainer()->get('doctrine.orm.entity_manager'); | ||
71 | |||
72 | $notification = new Notification($user); | ||
73 | $notification->setTitle('notifications.release.title') | ||
74 | ->addParameter('%version%', $this->getContainer()->getParameter('wallabag_core.version')) | ||
75 | ->setType(Notification::TYPE_RELEASE); | ||
76 | if ($link) { | ||
77 | $details = new Action(); | ||
78 | $details->setType(Action::TYPE_INFO) | ||
79 | ->setLabel('notifications.release.details') | ||
80 | ->setLink($link); | ||
81 | $notification->addAction($details); | ||
82 | } | ||
83 | $em->persist($notification); | ||
84 | $em->flush(); | ||
85 | |||
86 | $this->output->writeln(sprintf('Sent notification for user %s', $user->getUserName())); | ||
87 | } | ||
88 | } | ||
diff --git a/src/Wallabag/CoreBundle/Controller/NotificationsController.php b/src/Wallabag/CoreBundle/Controller/NotificationsController.php new file mode 100644 index 00000000..17e576cd --- /dev/null +++ b/src/Wallabag/CoreBundle/Controller/NotificationsController.php | |||
@@ -0,0 +1,96 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Controller; | ||
4 | |||
5 | use Pagerfanta\Adapter\DoctrineORMAdapter; | ||
6 | use Pagerfanta\Exception\OutOfRangeCurrentPageException; | ||
7 | use Pagerfanta\Pagerfanta; | ||
8 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; | ||
9 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; | ||
10 | use Symfony\Component\HttpFoundation\Request; | ||
11 | use Symfony\Component\HttpFoundation\Response; | ||
12 | use Wallabag\CoreBundle\Entity\Notification; | ||
13 | |||
14 | class NotificationsController extends Controller | ||
15 | { | ||
16 | /** | ||
17 | * @Route("/notifications/{page}", name="notifications-all", defaults={"page" = "1"}) | ||
18 | * | ||
19 | * @param int $page | ||
20 | * | ||
21 | * @return Response | ||
22 | */ | ||
23 | public function getAllNotificationsAction($page = 1) | ||
24 | { | ||
25 | $qb = $this->getDoctrine()->getRepository('WallabagCoreBundle:Notification')->getBuilderForNotificationsByUser($this->getUser()->getId()); | ||
26 | $pagerAdapter = new DoctrineORMAdapter($qb->getQuery(), true, false); | ||
27 | |||
28 | $notifications = new Pagerfanta($pagerAdapter); | ||
29 | $notifications->setMaxPerPage($this->getParameter('wallabag_core.notifications_nb')); | ||
30 | |||
31 | try { | ||
32 | $notifications->setCurrentPage($page); | ||
33 | } catch (OutOfRangeCurrentPageException $e) { | ||
34 | if ($page > 1) { | ||
35 | return $this->redirect($this->generateUrl('notifications-all', ['page' => $notifications->getNbPages()]), 302); | ||
36 | } | ||
37 | } | ||
38 | |||
39 | return $this->render('WallabagCoreBundle:Notification:notifications.html.twig', [ | ||
40 | 'notifications' => $notifications, | ||
41 | 'currentPage' => $page, | ||
42 | ]); | ||
43 | } | ||
44 | |||
45 | /** | ||
46 | * @Route("/notifications/readall", name="notification-archive-all") | ||
47 | * | ||
48 | * @param Request $request | ||
49 | * | ||
50 | * @return Response | ||
51 | */ | ||
52 | public function markAllNotificationsAsReadAction(Request $request) | ||
53 | { | ||
54 | $this->getDoctrine()->getRepository('WallabagCoreBundle:Notification')->markAllAsReadForUser($this->getUser()->getId()); | ||
55 | |||
56 | return $this->redirectToRoute('notifications-all'); | ||
57 | } | ||
58 | |||
59 | /** | ||
60 | * @Route("/notifications/read/{notification}", name="notification-archive") | ||
61 | * | ||
62 | * @param Notification $notification | ||
63 | * | ||
64 | * @return Response | ||
65 | */ | ||
66 | public function markNotificationsAsReadAction(Notification $notification) | ||
67 | { | ||
68 | $em = $this->getDoctrine()->getManager(); | ||
69 | |||
70 | $notification->setRead(true); | ||
71 | |||
72 | $em->persist($notification); | ||
73 | $em->flush(); | ||
74 | |||
75 | return $this->redirectToRoute('notifications-all'); | ||
76 | } | ||
77 | |||
78 | /** | ||
79 | * @Route("/notifications/read/{notification}/redirect", name="notification-archive-redirect", requirements={"notification" = "\d+"}) | ||
80 | * | ||
81 | * @param Request $request | ||
82 | * @param Notification $notification | ||
83 | */ | ||
84 | public function markNotificationAsReadAndRedirectAction(Request $request, Notification $notification) | ||
85 | { | ||
86 | $em = $this->getDoctrine()->getManager(); | ||
87 | |||
88 | $notification->setRead(true); | ||
89 | |||
90 | $em->persist($notification); | ||
91 | $em->flush(); | ||
92 | |||
93 | $redirection = $request->get('redirection'); | ||
94 | $this->redirect($redirection); | ||
95 | } | ||
96 | } | ||
diff --git a/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php b/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php index a9791f6b..478e4cba 100644 --- a/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php +++ b/src/Wallabag/CoreBundle/DependencyInjection/Configuration.php | |||
@@ -49,6 +49,9 @@ class Configuration implements ConfigurationInterface | |||
49 | ->scalarNode('list_mode') | 49 | ->scalarNode('list_mode') |
50 | ->defaultValue(1) | 50 | ->defaultValue(1) |
51 | ->end() | 51 | ->end() |
52 | ->scalarNode('notifications_nb') | ||
53 | ->defaultValue(5) | ||
54 | ->end() | ||
52 | ->scalarNode('api_limit_mass_actions') | 55 | ->scalarNode('api_limit_mass_actions') |
53 | ->defaultValue(10) | 56 | ->defaultValue(10) |
54 | ->end() | 57 | ->end() |
diff --git a/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php b/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php index a3ef2b53..bce66b76 100644 --- a/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php +++ b/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php | |||
@@ -25,6 +25,7 @@ class WallabagCoreExtension extends Extension | |||
25 | $container->setParameter('wallabag_core.cache_lifetime', $config['cache_lifetime']); | 25 | $container->setParameter('wallabag_core.cache_lifetime', $config['cache_lifetime']); |
26 | $container->setParameter('wallabag_core.action_mark_as_read', $config['action_mark_as_read']); | 26 | $container->setParameter('wallabag_core.action_mark_as_read', $config['action_mark_as_read']); |
27 | $container->setParameter('wallabag_core.list_mode', $config['list_mode']); | 27 | $container->setParameter('wallabag_core.list_mode', $config['list_mode']); |
28 | $container->setParameter('wallabag_core.notifications_nb', $config['notifications_nb']); | ||
28 | $container->setParameter('wallabag_core.fetching_error_message', $config['fetching_error_message']); | 29 | $container->setParameter('wallabag_core.fetching_error_message', $config['fetching_error_message']); |
29 | $container->setParameter('wallabag_core.fetching_error_message_title', $config['fetching_error_message_title']); | 30 | $container->setParameter('wallabag_core.fetching_error_message_title', $config['fetching_error_message_title']); |
30 | $container->setParameter('wallabag_core.api_limit_mass_actions', $config['api_limit_mass_actions']); | 31 | $container->setParameter('wallabag_core.api_limit_mass_actions', $config['api_limit_mass_actions']); |
diff --git a/src/Wallabag/CoreBundle/Entity/Notification.php b/src/Wallabag/CoreBundle/Entity/Notification.php new file mode 100644 index 00000000..6b30b044 --- /dev/null +++ b/src/Wallabag/CoreBundle/Entity/Notification.php | |||
@@ -0,0 +1,308 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Entity; | ||
4 | |||
5 | use Doctrine\Common\Collections\ArrayCollection; | ||
6 | use Doctrine\ORM\Mapping as ORM; | ||
7 | use Psr\Log\LoggerInterface; | ||
8 | use Psr\Log\NullLogger; | ||
9 | use Wallabag\CoreBundle\Notifications\ActionInterface; | ||
10 | use Wallabag\CoreBundle\Notifications\NotificationInterface; | ||
11 | use Wallabag\UserBundle\Entity\User; | ||
12 | |||
13 | /** | ||
14 | * Class Notification. | ||
15 | * | ||
16 | * @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\NotificationRepository") | ||
17 | * @ORM\Table(name="`notification`") | ||
18 | */ | ||
19 | class Notification implements NotificationInterface | ||
20 | { | ||
21 | /** | ||
22 | * @var int | ||
23 | * | ||
24 | * @ORM\Column(name="id", type="integer") | ||
25 | * @ORM\Id | ||
26 | * @ORM\GeneratedValue(strategy="AUTO") | ||
27 | */ | ||
28 | protected $id; | ||
29 | |||
30 | /** | ||
31 | * @var int | ||
32 | * | ||
33 | * @ORM\Column(name="type", type="integer") | ||
34 | */ | ||
35 | protected $type; | ||
36 | |||
37 | /** | ||
38 | * @var User | ||
39 | * | ||
40 | * @ORM\ManyToOne(targetEntity="Wallabag\UserBundle\Entity\User", inversedBy="notifications") | ||
41 | */ | ||
42 | protected $user; | ||
43 | |||
44 | /** | ||
45 | * @var \DateTime | ||
46 | * | ||
47 | * @ORM\Column(name="timestamp", type="datetime") | ||
48 | */ | ||
49 | protected $timestamp; | ||
50 | |||
51 | /** | ||
52 | * @var string | ||
53 | * | ||
54 | * @ORM\Column(name="title", type="string") | ||
55 | */ | ||
56 | protected $title; | ||
57 | |||
58 | /** | ||
59 | * @var string | ||
60 | * | ||
61 | * @ORM\Column(name="description", type="string", nullable=true) | ||
62 | */ | ||
63 | protected $description; | ||
64 | |||
65 | /** | ||
66 | * @var bool | ||
67 | * | ||
68 | * @ORM\Column(name="read", type="boolean") | ||
69 | */ | ||
70 | protected $read; | ||
71 | |||
72 | /** | ||
73 | * @var array | ||
74 | * | ||
75 | * @ORM\Column(name="parameters", type="array", nullable=true) | ||
76 | */ | ||
77 | protected $parameters; | ||
78 | |||
79 | protected $logger; | ||
80 | |||
81 | /** | ||
82 | * @var ArrayCollection<ActionInterface> | ||
83 | * | ||
84 | * @ORM\Column(name="actions", type="array", nullable=true) | ||
85 | */ | ||
86 | protected $actions; | ||
87 | |||
88 | protected $actionTypes = []; | ||
89 | |||
90 | const TYPE_ADMIN = 0; | ||
91 | const TYPE_USER = 1; | ||
92 | const TYPE_RELEASE = 2; | ||
93 | |||
94 | public function __construct(User $user = null) | ||
95 | { | ||
96 | $this->logger = new NullLogger(); | ||
97 | $this->timestamp = new \DateTime(); | ||
98 | $this->actions = new ArrayCollection(); | ||
99 | $this->parameters = []; | ||
100 | $this->read = false; | ||
101 | $this->user = $user; | ||
102 | } | ||
103 | |||
104 | /** | ||
105 | * @param LoggerInterface $logger | ||
106 | * | ||
107 | * @return NotificationInterface | ||
108 | */ | ||
109 | public function setLogger(LoggerInterface $logger) | ||
110 | { | ||
111 | $this->logger = $logger; | ||
112 | |||
113 | return $this; | ||
114 | } | ||
115 | |||
116 | /** | ||
117 | * @return mixed | ||
118 | */ | ||
119 | public function getId() | ||
120 | { | ||
121 | return $this->id; | ||
122 | } | ||
123 | |||
124 | /** | ||
125 | * @return mixed | ||
126 | */ | ||
127 | public function getType() | ||
128 | { | ||
129 | return $this->type; | ||
130 | } | ||
131 | |||
132 | /** | ||
133 | * @param mixed $type | ||
134 | * | ||
135 | * @return NotificationInterface | ||
136 | */ | ||
137 | public function setType($type) | ||
138 | { | ||
139 | $this->type = $type; | ||
140 | |||
141 | return $this; | ||
142 | } | ||
143 | |||
144 | /** | ||
145 | * @return User | ||
146 | */ | ||
147 | public function getUser() | ||
148 | { | ||
149 | return $this->user; | ||
150 | } | ||
151 | |||
152 | /** | ||
153 | * @param User $user | ||
154 | * | ||
155 | * @return NotificationInterface | ||
156 | */ | ||
157 | public function setUser(User $user) | ||
158 | { | ||
159 | $this->user = $user; | ||
160 | |||
161 | return $this; | ||
162 | } | ||
163 | |||
164 | /** | ||
165 | * @return \DateTime | ||
166 | */ | ||
167 | public function getTimestamp() | ||
168 | { | ||
169 | return $this->timestamp; | ||
170 | } | ||
171 | |||
172 | /** | ||
173 | * @param \DateTime $timestamp | ||
174 | * | ||
175 | * @return NotificationInterface | ||
176 | */ | ||
177 | public function setTimestamp(\DateTime $timestamp) | ||
178 | { | ||
179 | $this->timestamp = $timestamp; | ||
180 | |||
181 | return $this; | ||
182 | } | ||
183 | |||
184 | /** | ||
185 | * @return string | ||
186 | */ | ||
187 | public function getTitle() | ||
188 | { | ||
189 | return $this->title; | ||
190 | } | ||
191 | |||
192 | /** | ||
193 | * @param string $title | ||
194 | * | ||
195 | * @return NotificationInterface | ||
196 | */ | ||
197 | public function setTitle($title) | ||
198 | { | ||
199 | $this->title = $title; | ||
200 | |||
201 | return $this; | ||
202 | } | ||
203 | |||
204 | /** | ||
205 | * @return bool | ||
206 | */ | ||
207 | public function isRead() | ||
208 | { | ||
209 | return $this->read; | ||
210 | } | ||
211 | |||
212 | /** | ||
213 | * @param bool $read | ||
214 | * | ||
215 | * @return NotificationInterface | ||
216 | */ | ||
217 | public function setRead($read) | ||
218 | { | ||
219 | $this->read = $read; | ||
220 | |||
221 | return $this; | ||
222 | } | ||
223 | |||
224 | /** | ||
225 | * @param ActionInterface $action | ||
226 | * | ||
227 | * @return NotificationInterface | ||
228 | * | ||
229 | * @throws \InvalidArgumentException | ||
230 | */ | ||
231 | public function addAction(ActionInterface $action) | ||
232 | { | ||
233 | if (isset($this->actionTypes[$action->getType()])) { | ||
234 | throw new \InvalidArgumentException('The notification already has a primary action'); | ||
235 | } | ||
236 | $this->actionTypes[$action->getType()] = true; | ||
237 | $this->actions->add($action); | ||
238 | |||
239 | return $this; | ||
240 | } | ||
241 | |||
242 | /** | ||
243 | * @return ArrayCollection<ActionInterface> | ||
244 | */ | ||
245 | public function getActions() | ||
246 | { | ||
247 | return $this->actions; | ||
248 | } | ||
249 | |||
250 | /** | ||
251 | * @return string | ||
252 | */ | ||
253 | public function getDescription() | ||
254 | { | ||
255 | return $this->description; | ||
256 | } | ||
257 | |||
258 | /** | ||
259 | * @param string $description | ||
260 | * | ||
261 | * @return Notification | ||
262 | */ | ||
263 | public function setDescription($description) | ||
264 | { | ||
265 | $this->description = $description; | ||
266 | |||
267 | return $this; | ||
268 | } | ||
269 | |||
270 | /** | ||
271 | * @return array | ||
272 | */ | ||
273 | public function getParameters() | ||
274 | { | ||
275 | return $this->parameters; | ||
276 | } | ||
277 | |||
278 | /** | ||
279 | * @param array $parameters | ||
280 | * | ||
281 | * @return Notification | ||
282 | */ | ||
283 | public function setParameters($parameters) | ||
284 | { | ||
285 | $this->parameters = $parameters; | ||
286 | |||
287 | return $this; | ||
288 | } | ||
289 | |||
290 | /** | ||
291 | * @param string $key | ||
292 | * @param string $value | ||
293 | * | ||
294 | * @return Notification | ||
295 | * | ||
296 | * @throws \InvalidArgumentException | ||
297 | */ | ||
298 | public function addParameter($key, $value) | ||
299 | { | ||
300 | if (in_array($key, $this->parameters, true)) { | ||
301 | throw new \InvalidArgumentException('This parameter already is set'); | ||
302 | } | ||
303 | |||
304 | $this->parameters[$key] = $value; | ||
305 | |||
306 | return $this; | ||
307 | } | ||
308 | } | ||
diff --git a/src/Wallabag/CoreBundle/Notifications/Action.php b/src/Wallabag/CoreBundle/Notifications/Action.php new file mode 100644 index 00000000..d032adf9 --- /dev/null +++ b/src/Wallabag/CoreBundle/Notifications/Action.php | |||
@@ -0,0 +1,91 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Notifications; | ||
4 | |||
5 | class Action implements ActionInterface | ||
6 | { | ||
7 | /** | ||
8 | * @var string | ||
9 | */ | ||
10 | protected $label; | ||
11 | |||
12 | /** | ||
13 | * @var int | ||
14 | */ | ||
15 | protected $type; | ||
16 | |||
17 | const TYPE_OK = 1; | ||
18 | const TYPE_YES = 2; | ||
19 | const TYPE_NO = 3; | ||
20 | const TYPE_INFO = 4; | ||
21 | |||
22 | /** | ||
23 | * @var string | ||
24 | */ | ||
25 | protected $link; | ||
26 | |||
27 | /** | ||
28 | * @return string | ||
29 | */ | ||
30 | public function getLabel() | ||
31 | { | ||
32 | return $this->label; | ||
33 | } | ||
34 | |||
35 | /** | ||
36 | * @param string $label | ||
37 | * | ||
38 | * @return ActionInterface | ||
39 | */ | ||
40 | public function setLabel($label) | ||
41 | { | ||
42 | $this->label = $label; | ||
43 | |||
44 | return $this; | ||
45 | } | ||
46 | |||
47 | /** | ||
48 | * @return int | ||
49 | */ | ||
50 | public function getType() | ||
51 | { | ||
52 | return $this->type; | ||
53 | } | ||
54 | |||
55 | /** | ||
56 | * @param int $type | ||
57 | * | ||
58 | * @return ActionInterface | ||
59 | * | ||
60 | * @throws \InvalidArgumentException | ||
61 | */ | ||
62 | public function setType($type) | ||
63 | { | ||
64 | if ($type <= 0 || $type > 4) { | ||
65 | throw new \InvalidArgumentException('The given type option is invalid'); | ||
66 | } | ||
67 | $this->type = $type; | ||
68 | |||
69 | return $this; | ||
70 | } | ||
71 | |||
72 | /** | ||
73 | * @return string | ||
74 | */ | ||
75 | public function getLink() | ||
76 | { | ||
77 | return $this->link; | ||
78 | } | ||
79 | |||
80 | /** | ||
81 | * @param string $link | ||
82 | * | ||
83 | * @return ActionInterface | ||
84 | */ | ||
85 | public function setLink($link) | ||
86 | { | ||
87 | $this->link = $link; | ||
88 | |||
89 | return $this; | ||
90 | } | ||
91 | } | ||
diff --git a/src/Wallabag/CoreBundle/Notifications/ActionInterface.php b/src/Wallabag/CoreBundle/Notifications/ActionInterface.php new file mode 100644 index 00000000..e166e45b --- /dev/null +++ b/src/Wallabag/CoreBundle/Notifications/ActionInterface.php | |||
@@ -0,0 +1,42 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Notifications; | ||
4 | |||
5 | interface ActionInterface | ||
6 | { | ||
7 | /** | ||
8 | * @return string | ||
9 | */ | ||
10 | public function getLabel(); | ||
11 | |||
12 | /** | ||
13 | * @param string $label | ||
14 | * | ||
15 | * @return ActionInterface | ||
16 | */ | ||
17 | public function setLabel($label); | ||
18 | |||
19 | /** | ||
20 | * @return int | ||
21 | */ | ||
22 | public function getType(); | ||
23 | |||
24 | /** | ||
25 | * @param int $type | ||
26 | * | ||
27 | * @return ActionInterface | ||
28 | */ | ||
29 | public function setType($type); | ||
30 | |||
31 | /** | ||
32 | * @return string | ||
33 | */ | ||
34 | public function getLink(); | ||
35 | |||
36 | /** | ||
37 | * @param string $link | ||
38 | * | ||
39 | * @return ActionInterface | ||
40 | */ | ||
41 | public function setLink($link); | ||
42 | } | ||
diff --git a/src/Wallabag/CoreBundle/Notifications/InfoAction.php b/src/Wallabag/CoreBundle/Notifications/InfoAction.php new file mode 100644 index 00000000..3006b04a --- /dev/null +++ b/src/Wallabag/CoreBundle/Notifications/InfoAction.php | |||
@@ -0,0 +1,13 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Notifications; | ||
4 | |||
5 | class InfoAction extends Action | ||
6 | { | ||
7 | public function __construct($link) | ||
8 | { | ||
9 | $this->link = $link; | ||
10 | $this->label = 'Info'; | ||
11 | $this->type = Action::TYPE_INFO; | ||
12 | } | ||
13 | } | ||
diff --git a/src/Wallabag/CoreBundle/Notifications/NoAction.php b/src/Wallabag/CoreBundle/Notifications/NoAction.php new file mode 100644 index 00000000..606372b6 --- /dev/null +++ b/src/Wallabag/CoreBundle/Notifications/NoAction.php | |||
@@ -0,0 +1,13 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Notifications; | ||
4 | |||
5 | class NoAction extends Action | ||
6 | { | ||
7 | public function __construct($link) | ||
8 | { | ||
9 | $this->link = $link; | ||
10 | $this->label = 'No'; | ||
11 | $this->type = Action::TYPE_NO; | ||
12 | } | ||
13 | } | ||
diff --git a/src/Wallabag/CoreBundle/Notifications/NotificationInterface.php b/src/Wallabag/CoreBundle/Notifications/NotificationInterface.php new file mode 100644 index 00000000..4a3c2759 --- /dev/null +++ b/src/Wallabag/CoreBundle/Notifications/NotificationInterface.php | |||
@@ -0,0 +1,103 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Notifications; | ||
4 | |||
5 | use Psr\Log\LoggerAwareInterface; | ||
6 | |||
7 | interface NotificationInterface extends LoggerAwareInterface | ||
8 | { | ||
9 | /** | ||
10 | * Title of the notification. | ||
11 | * | ||
12 | * @return string | ||
13 | */ | ||
14 | public function getTitle(); | ||
15 | |||
16 | /** | ||
17 | * @param string $title | ||
18 | * | ||
19 | * @return NotificationInterface | ||
20 | */ | ||
21 | public function setTitle($title); | ||
22 | |||
23 | /** | ||
24 | * Type of the notification. | ||
25 | * | ||
26 | * @return string | ||
27 | */ | ||
28 | public function getType(); | ||
29 | |||
30 | /** | ||
31 | * @param int $type | ||
32 | * | ||
33 | * @return NotificationInterface | ||
34 | */ | ||
35 | public function setType($type); | ||
36 | |||
37 | /** | ||
38 | * If the notification has been viewed / dismissed or not. | ||
39 | * | ||
40 | * @return bool | ||
41 | */ | ||
42 | public function isRead(); | ||
43 | |||
44 | /** | ||
45 | * @param bool $read | ||
46 | * | ||
47 | * @return NotificationInterface | ||
48 | */ | ||
49 | public function setRead($read); | ||
50 | |||
51 | /** | ||
52 | * When the notification was sent. | ||
53 | * | ||
54 | * @return \DateTime | ||
55 | */ | ||
56 | public function getTimestamp(); | ||
57 | |||
58 | /** | ||
59 | * @param \DateTime $timestamp | ||
60 | * | ||
61 | * @return NotificationInterface | ||
62 | */ | ||
63 | public function setTimestamp(\DateTime $timestamp); | ||
64 | |||
65 | /** | ||
66 | * @param ActionInterface $action | ||
67 | * | ||
68 | * @return NotificationInterface | ||
69 | */ | ||
70 | public function addAction(ActionInterface $action); | ||
71 | |||
72 | /** | ||
73 | * @return string | ||
74 | */ | ||
75 | public function getDescription(); | ||
76 | |||
77 | /** | ||
78 | * @param string $description | ||
79 | * | ||
80 | * @return NotificationInterface | ||
81 | */ | ||
82 | public function setDescription($description); | ||
83 | |||
84 | /** | ||
85 | * @return array | ||
86 | */ | ||
87 | public function getParameters(); | ||
88 | |||
89 | /** | ||
90 | * @param array $parameters | ||
91 | * | ||
92 | * @return NotificationInterface | ||
93 | */ | ||
94 | public function setParameters($parameters); | ||
95 | |||
96 | /** | ||
97 | * @param string $key | ||
98 | * @param string $value | ||
99 | * | ||
100 | * @return NotificationInterface | ||
101 | */ | ||
102 | public function addParameter($key, $value); | ||
103 | } | ||
diff --git a/src/Wallabag/CoreBundle/Notifications/OkAction.php b/src/Wallabag/CoreBundle/Notifications/OkAction.php new file mode 100644 index 00000000..521e6742 --- /dev/null +++ b/src/Wallabag/CoreBundle/Notifications/OkAction.php | |||
@@ -0,0 +1,13 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Notifications; | ||
4 | |||
5 | class OkAction extends Action | ||
6 | { | ||
7 | public function __construct($link) | ||
8 | { | ||
9 | $this->link = $link; | ||
10 | $this->label = 'OK'; | ||
11 | $this->type = Action::TYPE_OK; | ||
12 | } | ||
13 | } | ||
diff --git a/src/Wallabag/CoreBundle/Notifications/YesAction.php b/src/Wallabag/CoreBundle/Notifications/YesAction.php new file mode 100644 index 00000000..9b48eca5 --- /dev/null +++ b/src/Wallabag/CoreBundle/Notifications/YesAction.php | |||
@@ -0,0 +1,13 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Notifications; | ||
4 | |||
5 | class YesAction extends Action | ||
6 | { | ||
7 | public function __construct($link) | ||
8 | { | ||
9 | $this->link = $link; | ||
10 | $this->label = 'Yes'; | ||
11 | $this->type = Action::TYPE_YES; | ||
12 | } | ||
13 | } | ||
diff --git a/src/Wallabag/CoreBundle/Repository/NotificationRepository.php b/src/Wallabag/CoreBundle/Repository/NotificationRepository.php new file mode 100644 index 00000000..6d6938ae --- /dev/null +++ b/src/Wallabag/CoreBundle/Repository/NotificationRepository.php | |||
@@ -0,0 +1,26 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Wallabag\CoreBundle\Repository; | ||
4 | |||
5 | use Doctrine\ORM\EntityRepository; | ||
6 | |||
7 | class NotificationRepository extends EntityRepository | ||
8 | { | ||
9 | public function markAllAsReadForUser($userId) | ||
10 | { | ||
11 | return $this->getEntityManager()->createQueryBuilder() | ||
12 | ->update('WallabagCoreBundle:Notification', 'n') | ||
13 | ->set('n.read', true) | ||
14 | ->where('n.user = :userId')->setParameter('userId', $userId) | ||
15 | ->getQuery() | ||
16 | ->getResult(); | ||
17 | } | ||
18 | |||
19 | public function getBuilderForNotificationsByUser($userId) | ||
20 | { | ||
21 | return $this->createQueryBuilder('n') | ||
22 | ->andWhere('n.user = :userId')->setParameter('userId', $userId) | ||
23 | ->orderBy('n.timestamp', 'desc') | ||
24 | ; | ||
25 | } | ||
26 | } | ||
diff --git a/src/Wallabag/CoreBundle/Resources/config/services.yml b/src/Wallabag/CoreBundle/Resources/config/services.yml index e09b0f18..183b6690 100644 --- a/src/Wallabag/CoreBundle/Resources/config/services.yml +++ b/src/Wallabag/CoreBundle/Resources/config/services.yml | |||
@@ -129,6 +129,12 @@ services: | |||
129 | calls: | 129 | calls: |
130 | - [ setCrypto, [ "@wallabag_core.helper.crypto_proxy" ] ] | 130 | - [ setCrypto, [ "@wallabag_core.helper.crypto_proxy" ] ] |
131 | 131 | ||
132 | wallabag_core.notification_repository: | ||
133 | class: Wallabag\CoreBundle\Repository\NotificationRepository | ||
134 | factory: [ "@doctrine.orm.default_entity_manager", getRepository ] | ||
135 | arguments: | ||
136 | - WallabagCoreBundle:Notification | ||
137 | |||
132 | wallabag_core.helper.entries_export: | 138 | wallabag_core.helper.entries_export: |
133 | class: Wallabag\CoreBundle\Helper\EntriesExport | 139 | class: Wallabag\CoreBundle\Helper\EntriesExport |
134 | arguments: | 140 | arguments: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.da.yml b/src/Wallabag/CoreBundle/Resources/translations/date.da.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.da.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.de.yml b/src/Wallabag/CoreBundle/Resources/translations/date.de.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.de.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.en.yml b/src/Wallabag/CoreBundle/Resources/translations/date.en.yml new file mode 100644 index 00000000..7bcd6d0c --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.en.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | empty: 'Now' | ||
4 | second: 'One second ago|%count% seconds ago' | ||
5 | minute: 'One minute ago|%count% minutes ago' | ||
6 | hour: 'One hour ago|%count% hours ago' | ||
7 | day: 'One day ago|%count% days ago' | ||
8 | month: 'One month ago|%count% months ago' | ||
9 | year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.es.yml b/src/Wallabag/CoreBundle/Resources/translations/date.es.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.es.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/date.fa.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.fa.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/date.fr.yml new file mode 100644 index 00000000..02eb96b0 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.fr.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | empty: 'Maintenant' | ||
4 | second: 'Il y a une seconde|il y a %count% secondes' | ||
5 | minute: 'Il y a une minute|il y a %count% minutes' | ||
6 | hour: 'Il y a une heure|il y a %count% heures' | ||
7 | day: 'Il y a un jour|Il y a %count% jours' | ||
8 | month: 'Il y a un mois|il y a %count% mois' | ||
9 | year: 'Il y a un an|il y a %count% ans' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.it.yml b/src/Wallabag/CoreBundle/Resources/translations/date.it.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.it.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/date.oc.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.oc.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/date.pl.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.pl.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/date.pt.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.pt.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/date.ro.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.ro.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/date.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/date.tr.yml new file mode 100644 index 00000000..3797b6bf --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/translations/date.tr.yml | |||
@@ -0,0 +1,9 @@ | |||
1 | diff: | ||
2 | ago: | ||
3 | # empty: 'Now' | ||
4 | # second: 'One second ago|%count% seconds ago' | ||
5 | # minute: 'One minute ago|%count% minutes ago' | ||
6 | # hour: 'One hour ago|%count% hours ago' | ||
7 | # day: 'One day ago|%count% days ago' | ||
8 | # month: 'One month ago|%count% months ago' | ||
9 | # year: 'One year ago|%count% years ago' | ||
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml index 5229ac73..ad03fa91 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.da.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Søg' | 38 | search: 'Søg' |
39 | filter_entries: 'Filtrer artikler' | 39 | filter_entries: 'Filtrer artikler' |
40 | # export: 'Export' | 40 | # export: 'Export' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Indtast søgning' | 43 | input_label: 'Indtast søgning' |
43 | 44 | ||
@@ -250,6 +251,17 @@ entry: | |||
250 | # delete: "Are you sure you want to remove that article?" | 251 | # delete: "Are you sure you want to remove that article?" |
251 | # delete_tag: "Are you sure you want to remove that tag from that article?" | 252 | # delete_tag: "Are you sure you want to remove that tag from that article?" |
252 | 253 | ||
254 | # notifications: | ||
255 | # sidebar: | ||
256 | # view_more: 'View more' | ||
257 | # list: | ||
258 | # page_title: 'Notifications' | ||
259 | # mark_all_as_read: 'Mark all as read' | ||
260 | # none: "No notifications yet :'(" | ||
261 | # release: | ||
262 | # title: "wallabag has been updated to version %version%" | ||
263 | # details: "View update's details" | ||
264 | |||
253 | about: | 265 | about: |
254 | page_title: 'Om' | 266 | page_title: 'Om' |
255 | top_menu: | 267 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml index 996f173a..f2d75a62 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.de.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Suche' | 38 | search: 'Suche' |
39 | filter_entries: 'Artikel filtern' | 39 | filter_entries: 'Artikel filtern' |
40 | export: 'Exportieren' | 40 | export: 'Exportieren' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Suchbegriff hier eingeben' | 43 | input_label: 'Suchbegriff hier eingeben' |
43 | 44 | ||
@@ -250,6 +251,17 @@ entry: | |||
250 | delete: "Bist du sicher, dass du diesen Artikel löschen möchtest?" | 251 | delete: "Bist du sicher, dass du diesen Artikel löschen möchtest?" |
251 | delete_tag: "Bist du sicher, dass du diesen Tag vom Artikel entfernen möchtest?" | 252 | delete_tag: "Bist du sicher, dass du diesen Tag vom Artikel entfernen möchtest?" |
252 | 253 | ||
254 | # notifications: | ||
255 | # sidebar: | ||
256 | # view_more: 'View more' | ||
257 | # list: | ||
258 | # page_title: 'Notifications' | ||
259 | # mark_all_as_read: 'Mark all as read' | ||
260 | # none: "No notifications yet :'(" | ||
261 | # release: | ||
262 | # title: "wallabag has been updated to version %version%" | ||
263 | # details: "View update's details" | ||
264 | |||
253 | about: | 265 | about: |
254 | page_title: 'Über' | 266 | page_title: 'Über' |
255 | top_menu: | 267 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml index aa1cd1a9..228dd87e 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.en.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Search' | 38 | search: 'Search' |
39 | filter_entries: 'Filter entries' | 39 | filter_entries: 'Filter entries' |
40 | export: 'Export' | 40 | export: 'Export' |
41 | notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Enter your search here' | 43 | input_label: 'Enter your search here' |
43 | 44 | ||
@@ -250,6 +251,16 @@ entry: | |||
250 | delete: "Are you sure you want to remove that article?" | 251 | delete: "Are you sure you want to remove that article?" |
251 | delete_tag: "Are you sure you want to remove that tag from that article?" | 252 | delete_tag: "Are you sure you want to remove that tag from that article?" |
252 | 253 | ||
254 | notifications: | ||
255 | sidebar: | ||
256 | view_more: 'View more' | ||
257 | list: | ||
258 | page_title: 'Notifications' | ||
259 | mark_all_as_read: 'Mark all as read' | ||
260 | none: "No notifications yet :'(" | ||
261 | release: | ||
262 | title: "wallabag has been updated to version %version%" | ||
263 | details: "View update's details" | ||
253 | about: | 264 | about: |
254 | page_title: 'About' | 265 | page_title: 'About' |
255 | top_menu: | 266 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml index 96998f53..28f064c7 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.es.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Buscar' | 38 | search: 'Buscar' |
39 | filter_entries: 'Filtrar los artículos' | 39 | filter_entries: 'Filtrar los artículos' |
40 | export: 'Exportar' | 40 | export: 'Exportar' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Introduzca su búsqueda aquí' | 43 | input_label: 'Introduzca su búsqueda aquí' |
43 | 44 | ||
@@ -250,6 +251,17 @@ entry: | |||
250 | # delete: "Are you sure you want to remove that article?" | 251 | # delete: "Are you sure you want to remove that article?" |
251 | # delete_tag: "Are you sure you want to remove that tag from that article?" | 252 | # delete_tag: "Are you sure you want to remove that tag from that article?" |
252 | 253 | ||
254 | # notifications: | ||
255 | # sidebar: | ||
256 | # view_more: 'View more' | ||
257 | # list: | ||
258 | # page_title: 'Notifications' | ||
259 | # mark_all_as_read: 'Mark all as read' | ||
260 | # none: "No notifications yet :'(" | ||
261 | # release: | ||
262 | # title: "wallabag has been updated to version %version%" | ||
263 | # details: "View update's details" | ||
264 | |||
253 | about: | 265 | about: |
254 | page_title: 'Acerca de' | 266 | page_title: 'Acerca de' |
255 | top_menu: | 267 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml index 57e6c029..4496a2f2 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fa.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'جستجو' | 38 | search: 'جستجو' |
39 | filter_entries: 'فیلترکردن مقالهها' | 39 | filter_entries: 'فیلترکردن مقالهها' |
40 | export: 'برونبری' | 40 | export: 'برونبری' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'جستجوی خود را اینجا بنویسید:' | 43 | input_label: 'جستجوی خود را اینجا بنویسید:' |
43 | 44 | ||
@@ -250,6 +251,17 @@ entry: | |||
250 | # delete: "Are you sure you want to remove that article?" | 251 | # delete: "Are you sure you want to remove that article?" |
251 | # delete_tag: "Are you sure you want to remove that tag from that article?" | 252 | # delete_tag: "Are you sure you want to remove that tag from that article?" |
252 | 253 | ||
254 | # notifications: | ||
255 | # sidebar: | ||
256 | # view_more: 'View more' | ||
257 | # list: | ||
258 | # page_title: 'Notifications' | ||
259 | # mark_all_as_read: 'Mark all as read' | ||
260 | # none: "No notifications yet :'(" | ||
261 | # release: | ||
262 | # title: "wallabag has been updated to version %version%" | ||
263 | # details: "View update's details" | ||
264 | |||
253 | about: | 265 | about: |
254 | page_title: 'درباره' | 266 | page_title: 'درباره' |
255 | top_menu: | 267 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml index 6eac4c36..8bccc8a4 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.fr.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: "Rechercher" | 38 | search: "Rechercher" |
39 | filter_entries: "Filtrer les articles" | 39 | filter_entries: "Filtrer les articles" |
40 | export: "Exporter" | 40 | export: "Exporter" |
41 | notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: "Saisissez votre terme de recherche" | 43 | input_label: "Saisissez votre terme de recherche" |
43 | 44 | ||
@@ -250,6 +251,17 @@ entry: | |||
250 | delete: "Voulez-vous vraiment supprimer cet article ?" | 251 | delete: "Voulez-vous vraiment supprimer cet article ?" |
251 | delete_tag: "Voulez-vous vraiment supprimer ce tag de cet article ?" | 252 | delete_tag: "Voulez-vous vraiment supprimer ce tag de cet article ?" |
252 | 253 | ||
254 | notifications: | ||
255 | sidebar: | ||
256 | view_more: 'Voir plus' | ||
257 | list: | ||
258 | page_title: 'Notifications' | ||
259 | mark_all_as_read: 'Marquer tout comme lu' | ||
260 | none: "Aucune notification pour le moment :'(" | ||
261 | release: | ||
262 | title: "wallabag a été mis à jour vers la version %version%" | ||
263 | details: "Voir les détails de la mise à jour" | ||
264 | |||
253 | about: | 265 | about: |
254 | page_title: "À propos" | 266 | page_title: "À propos" |
255 | top_menu: | 267 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml index fa7ae0b2..d15ce5f9 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.it.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Cerca' | 38 | search: 'Cerca' |
39 | filter_entries: 'Filtra contenuti' | 39 | filter_entries: 'Filtra contenuti' |
40 | export: 'Esporta' | 40 | export: 'Esporta' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Inserisci qui la tua ricerca' | 43 | input_label: 'Inserisci qui la tua ricerca' |
43 | 44 | ||
@@ -250,6 +251,16 @@ entry: | |||
250 | delete: "Vuoi veramente rimuovere quell'articolo?" | 251 | delete: "Vuoi veramente rimuovere quell'articolo?" |
251 | delete_tag: "Vuoi veramente rimuovere quell'etichetta da quell'articolo?" | 252 | delete_tag: "Vuoi veramente rimuovere quell'etichetta da quell'articolo?" |
252 | 253 | ||
254 | # notifications: | ||
255 | # sidebar: | ||
256 | # view_more: 'View more' | ||
257 | # list: | ||
258 | # page_title: 'Notifications' | ||
259 | # mark_all_as_read: 'Mark all as read' | ||
260 | # none: "No notifications yet :'(" | ||
261 | # release: | ||
262 | # title: "wallabag has been updated to version %version%" | ||
263 | # details: "View update's details" | ||
253 | about: | 264 | about: |
254 | page_title: 'A proposito' | 265 | page_title: 'A proposito' |
255 | top_menu: | 266 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml index be57e903..af9d85c3 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.oc.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Cercar' | 38 | search: 'Cercar' |
39 | filter_entries: 'Filtrar los articles' | 39 | filter_entries: 'Filtrar los articles' |
40 | export: 'Exportar' | 40 | export: 'Exportar' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Picatz vòstre mot-clau a cercar aquí' | 43 | input_label: 'Picatz vòstre mot-clau a cercar aquí' |
43 | 44 | ||
@@ -250,6 +251,17 @@ entry: | |||
250 | # delete: "Are you sure you want to remove that article?" | 251 | # delete: "Are you sure you want to remove that article?" |
251 | # delete_tag: "Are you sure you want to remove that tag from that article?" | 252 | # delete_tag: "Are you sure you want to remove that tag from that article?" |
252 | 253 | ||
254 | # notifications: | ||
255 | # sidebar: | ||
256 | # view_more: 'View more' | ||
257 | # list: | ||
258 | # page_title: 'Notifications' | ||
259 | # mark_all_as_read: 'Mark all as read' | ||
260 | # none: "No notifications yet :'(" | ||
261 | # release: | ||
262 | # title: "wallabag has been updated to version %version%" | ||
263 | # details: "View update's details" | ||
264 | |||
253 | about: | 265 | about: |
254 | page_title: 'A prepaus' | 266 | page_title: 'A prepaus' |
255 | top_menu: | 267 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml index 00c559ed..78464162 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pl.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Szukaj' | 38 | search: 'Szukaj' |
39 | filter_entries: 'Filtruj wpisy' | 39 | filter_entries: 'Filtruj wpisy' |
40 | export: 'Eksportuj' | 40 | export: 'Eksportuj' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Wpisz swoje zapytanie tutaj' | 43 | input_label: 'Wpisz swoje zapytanie tutaj' |
43 | 44 | ||
@@ -250,6 +251,17 @@ entry: | |||
250 | delete: "Czy jesteś pewien, że chcesz usunąć ten artykuł?" | 251 | delete: "Czy jesteś pewien, że chcesz usunąć ten artykuł?" |
251 | delete_tag: "Czy jesteś pewien, że chcesz usunąć ten tag, z tego artykułu?" | 252 | delete_tag: "Czy jesteś pewien, że chcesz usunąć ten tag, z tego artykułu?" |
252 | 253 | ||
254 | # notifications: | ||
255 | # sidebar: | ||
256 | # view_more: 'View more' | ||
257 | # list: | ||
258 | # page_title: 'Notifications' | ||
259 | # mark_all_as_read: 'Mark all as read' | ||
260 | # none: "No notifications yet :'(" | ||
261 | # release: | ||
262 | # title: "wallabag has been updated to version %version%" | ||
263 | # details: "View update's details" | ||
264 | |||
253 | about: | 265 | about: |
254 | page_title: 'O nas' | 266 | page_title: 'O nas' |
255 | top_menu: | 267 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml index 4ab5f144..07eeefc2 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.pt.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Pesquisa' | 38 | search: 'Pesquisa' |
39 | filter_entries: 'Filtrar entradas' | 39 | filter_entries: 'Filtrar entradas' |
40 | export: 'Exportar' | 40 | export: 'Exportar' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Digite aqui sua pesquisa' | 43 | input_label: 'Digite aqui sua pesquisa' |
43 | 44 | ||
@@ -250,6 +251,17 @@ entry: | |||
250 | # delete: "Are you sure you want to remove that article?" | 251 | # delete: "Are you sure you want to remove that article?" |
251 | # delete_tag: "Are you sure you want to remove that tag from that article?" | 252 | # delete_tag: "Are you sure you want to remove that tag from that article?" |
252 | 253 | ||
254 | # notifications: | ||
255 | # sidebar: | ||
256 | # view_more: 'View more' | ||
257 | # list: | ||
258 | # page_title: 'Notifications' | ||
259 | # mark_all_as_read: 'Mark all as read' | ||
260 | # none: "No notifications yet :'(" | ||
261 | # release: | ||
262 | # title: "wallabag has been updated to version %version%" | ||
263 | # details: "View update's details" | ||
264 | |||
253 | about: | 265 | about: |
254 | page_title: 'Sobre' | 266 | page_title: 'Sobre' |
255 | top_menu: | 267 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml index f16504ed..ba7b11d5 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.ro.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Căutare' | 38 | search: 'Căutare' |
39 | filter_entries: 'Filtrează articolele' | 39 | filter_entries: 'Filtrează articolele' |
40 | # export: 'Export' | 40 | # export: 'Export' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Introdu căutarea ta' | 43 | input_label: 'Introdu căutarea ta' |
43 | 44 | ||
@@ -250,6 +251,17 @@ entry: | |||
250 | # delete: "Are you sure you want to remove that article?" | 251 | # delete: "Are you sure you want to remove that article?" |
251 | # delete_tag: "Are you sure you want to remove that tag from that article?" | 252 | # delete_tag: "Are you sure you want to remove that tag from that article?" |
252 | 253 | ||
254 | # notifications: | ||
255 | # sidebar: | ||
256 | # view_more: 'View more' | ||
257 | # list: | ||
258 | # page_title: 'Notifications' | ||
259 | # mark_all_as_read: 'Mark all as read' | ||
260 | # none: "No notifications yet :'(" | ||
261 | # release: | ||
262 | # title: "wallabag has been updated to version %version%" | ||
263 | # details: "View update's details" | ||
264 | |||
253 | about: | 265 | about: |
254 | page_title: 'Despre' | 266 | page_title: 'Despre' |
255 | top_menu: | 267 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml index 90a140cd..6cbe6dcd 100644 --- a/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml +++ b/src/Wallabag/CoreBundle/Resources/translations/messages.tr.yml | |||
@@ -38,6 +38,7 @@ menu: | |||
38 | search: 'Ara' | 38 | search: 'Ara' |
39 | filter_entries: 'Filtrele' | 39 | filter_entries: 'Filtrele' |
40 | export: 'Dışa Aktar' | 40 | export: 'Dışa Aktar' |
41 | # notifications: 'Notifications' | ||
41 | search_form: | 42 | search_form: |
42 | input_label: 'Aramak istediğiniz herhangi bir şey yazın' | 43 | input_label: 'Aramak istediğiniz herhangi bir şey yazın' |
43 | 44 | ||
@@ -248,6 +249,17 @@ entry: | |||
248 | # delete: "Are you sure you want to remove that article?" | 249 | # delete: "Are you sure you want to remove that article?" |
249 | # delete_tag: "Are you sure you want to remove that tag from that article?" | 250 | # delete_tag: "Are you sure you want to remove that tag from that article?" |
250 | 251 | ||
252 | # notifications: | ||
253 | # sidebar: | ||
254 | # view_more: 'View more' | ||
255 | # list: | ||
256 | # page_title: 'Notifications' | ||
257 | # mark_all_as_read: 'Mark all as read' | ||
258 | # none: "No notifications yet :'(" | ||
259 | # release: | ||
260 | # title: "wallabag has been updated to version %version%" | ||
261 | # details: "View update's details" | ||
262 | |||
251 | about: | 263 | about: |
252 | page_title: 'Hakkımızda' | 264 | page_title: 'Hakkımızda' |
253 | top_menu: | 265 | top_menu: |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig index 8a5da71a..d566795d 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/client.html.twig | |||
@@ -3,6 +3,7 @@ | |||
3 | {% block title %}{{ 'developer.client.page_title'|trans }}{% endblock %} | 3 | {% block title %}{{ 'developer.client.page_title'|trans }}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | {{ parent() }} | ||
6 | <div class="row"> | 7 | <div class="row"> |
7 | <div class="col s12"> | 8 | <div class="col s12"> |
8 | <div class="card-panel settings"> | 9 | <div class="card-panel settings"> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig index 528b055c..53210688 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Developer/index.html.twig | |||
@@ -3,6 +3,7 @@ | |||
3 | {% block title %}{{ 'developer.page_title'|trans }}{% endblock %} | 3 | {% block title %}{{ 'developer.page_title'|trans }}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | {{ parent() }} | ||
6 | <div class="row"> | 7 | <div class="row"> |
7 | <div class="col s12"> | 8 | <div class="col s12"> |
8 | <div class="card-panel settings"> | 9 | <div class="card-panel settings"> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig index 1cd3485c..ffd9b1b8 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/about.html.twig | |||
@@ -3,7 +3,7 @@ | |||
3 | {% block title %}{{ 'about.page_title'|trans }}{% endblock %} | 3 | {% block title %}{{ 'about.page_title'|trans }}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | 6 | {{ parent() }} | |
7 | <div class="row"> | 7 | <div class="row"> |
8 | <div class="col s12"> | 8 | <div class="col s12"> |
9 | <div class="card-panel settings"> | 9 | <div class="card-panel settings"> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig index 231f9bdf..4c598b85 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/howto.html.twig | |||
@@ -3,7 +3,7 @@ | |||
3 | {% block title %}{{ 'howto.page_title'|trans }}{% endblock %} | 3 | {% block title %}{{ 'howto.page_title'|trans }}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | 6 | {{ parent() }} | |
7 | <div class="row"> | 7 | <div class="row"> |
8 | <div class="col s12"> | 8 | <div class="col s12"> |
9 | <div class="card-panel settings"> | 9 | <div class="card-panel settings"> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig index 4580813c..70265be2 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Static/quickstart.html.twig | |||
@@ -3,7 +3,7 @@ | |||
3 | {% block title %}{{ 'quickstart.page_title'|trans }}{% endblock %} | 3 | {% block title %}{{ 'quickstart.page_title'|trans }}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | 6 | {{ parent() }} | |
7 | <div class="row quickstart"> | 7 | <div class="row quickstart"> |
8 | <div class="col s12"> | 8 | <div class="col s12"> |
9 | <div class="card-panel settings"> | 9 | <div class="card-panel settings"> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig index a8143315..bd5932b0 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Config/index.html.twig | |||
@@ -3,7 +3,7 @@ | |||
3 | {% block title %}{{ 'config.page_title'|trans }}{% endblock %} | 3 | {% block title %}{{ 'config.page_title'|trans }}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | 6 | {{ parent() }} | |
7 | <div class="row"> | 7 | <div class="row"> |
8 | <div class="col s12"> | 8 | <div class="col s12"> |
9 | <div class="card-panel settings"> | 9 | <div class="card-panel settings"> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 0c4dc80b..1cc5489f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |||
@@ -19,6 +19,7 @@ | |||
19 | {% endblock %} | 19 | {% endblock %} |
20 | 20 | ||
21 | {% block content %} | 21 | {% block content %} |
22 | {{ parent() }} | ||
22 | {% set listMode = app.user.config.listMode %} | 23 | {% set listMode = app.user.config.listMode %} |
23 | {% set currentRoute = app.request.attributes.get('_route') %} | 24 | {% set currentRoute = app.request.attributes.get('_route') %} |
24 | <div class="results clearfix"> | 25 | <div class="results clearfix"> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Notification/notifications.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Notification/notifications.html.twig new file mode 100644 index 00000000..49cc0d40 --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Notification/notifications.html.twig | |||
@@ -0,0 +1,56 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | ||
2 | |||
3 | {% block title %}{{ 'notifications.list.page_title' | trans }}{% endblock %} | ||
4 | |||
5 | {% block content %} | ||
6 | {{ parent() }} | ||
7 | <div class="row notifications-page"> | ||
8 | <div class="col l8 offset-l2"> | ||
9 | {% if app.user.notifications is not empty %} | ||
10 | <div class="row"> | ||
11 | <a href="{{ path('notification-archive-all') }}" class="btn-light waves-effect waves-light right"><i class="material-icons">done_all</i> {{ 'notifications.list.mark_all_as_read' | trans }}</a> | ||
12 | </div> | ||
13 | <ul class="collection"> | ||
14 | {% for notification in notifications | slice(0, 10) %} | ||
15 | <li class="notification collection-item avatar{% if not notification.read %} light-blue lighten-5{% else %} grey-text{% endif %}"> | ||
16 | <i class="material-icons circle">{% spaceless %} | ||
17 | {% if notification.type == constant('TYPE_ADMIN', notification) %} | ||
18 | build | ||
19 | {% elseif notification.type == constant('TYPE_USER', notification) %} | ||
20 | person | ||
21 | {% elseif notification.type == constant('TYPE_RELEASE', notification) %} | ||
22 | new_releases | ||
23 | {% endif %} | ||
24 | {% endspaceless %}</i> | ||
25 | <span class="title">{{ notification.title | trans(notification.parameters) }}</span> | ||
26 | <p>{{ notification.description | trans | trans(notification.parameters) }}</p> | ||
27 | <time datetime="{{ notification.timestamp | date }}">{{ notification.timestamp | time_diff }}</time> | ||
28 | <div class="secondary-content"> | ||
29 | {% if not notification.read %} | ||
30 | {% for action in notification.actions %} | ||
31 | <a class="notification-action btn waves-effect waves-light {% spaceless %} | ||
32 | {% if action.type == constant('TYPE_OK', action) %} | ||
33 | {% elseif action.type == constant('TYPE_YES', action) %} | ||
34 | cyan | ||
35 | {% elseif action.type == constant('TYPE_NO', action) %} | ||
36 | red | ||
37 | {% elseif action.type == constant('TYPE_INFO', action) %} | ||
38 | blue-grey | ||
39 | {% endif %} | ||
40 | {% endspaceless %}" data-id="{{ notification.id }}" href="{{ path('notification-archive-redirect', {'redirection': action.link, 'notification': notification.id}) }}">{{ action.label | trans(notification.parameters) }}</a> | ||
41 | {% endfor %} | ||
42 | <a href="{{ path('notification-archive', {'notification': notification.id}) }}" class="notification-action waves-effect waves-teal btn-flat"><i class="material-icons">check</i></a> | ||
43 | {% endif %} | ||
44 | </div> | ||
45 | </li> | ||
46 | {% endfor %} | ||
47 | </ul> | ||
48 | {% else %} | ||
49 | {{ 'notifications.list.none' | trans }} | ||
50 | {% endif %} | ||
51 | {% if notifications.getNbPages > 1 %} | ||
52 | {{ pagerfanta(notifications, 'twitter_bootstrap_translated', {'proximity': 1}) }} | ||
53 | {% endif %} | ||
54 | </div> | ||
55 | </div> | ||
56 | {% endblock %} | ||
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig index 97ddedc9..7a0f793c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/tags.html.twig | |||
@@ -3,6 +3,7 @@ | |||
3 | {% block title %}{{ 'tag.page_title'|trans }}{% endblock %} | 3 | {% block title %}{{ 'tag.page_title'|trans }}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | {{ parent() }} | ||
6 | <div class="results clearfix"> | 7 | <div class="results clearfix"> |
7 | <div class="nb-results left">{{ 'tag.list.number_on_the_page'|transchoice(tags|length) }}</div> | 8 | <div class="nb-results left">{{ 'tag.list.number_on_the_page'|transchoice(tags|length) }}</div> |
8 | </div> | 9 | </div> |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig index 60907e11..ccc44931 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig | |||
@@ -110,6 +110,13 @@ | |||
110 | <i class="material-icons">search</i> | 110 | <i class="material-icons">search</i> |
111 | </a> | 111 | </a> |
112 | </li> | 112 | </li> |
113 | <li id="button_notifications"> | ||
114 | {% set unreadNotifs = get_notifications() | unread_notif | length %} | ||
115 | <a class="nav-panel-menu button-collapse-right tooltipped js-notifications-action" data-position="bottom" data-delay="50" data-tooltip="{{ 'menu.top.notifications' | trans }}" href="#" data-activates="notifications"> | ||
116 | <i class="material-icons">notifications{% if unreadNotifs == 0 %}_none{% endif %}</i> | ||
117 | {% if unreadNotifs > 0 %}<span id="notifications-count" class="red-text text-accent-2">{{ unreadNotifs }}</span>{% endif %} | ||
118 | </a> | ||
119 | </li> | ||
113 | <li id="button_filters"> | 120 | <li id="button_filters"> |
114 | <a class="nav-panel-menu button-collapse-right tooltipped js-filters-action" data-position="bottom" data-delay="50" data-tooltip="{{ 'menu.top.filter_entries'|trans }}" href="#" data-activates="filters"> | 121 | <a class="nav-panel-menu button-collapse-right tooltipped js-filters-action" data-position="bottom" data-delay="50" data-tooltip="{{ 'menu.top.filter_entries'|trans }}" href="#" data-activates="filters"> |
115 | <i class="material-icons">filter_list</i> | 122 | <i class="material-icons">filter_list</i> |
@@ -135,6 +142,53 @@ | |||
135 | </nav> | 142 | </nav> |
136 | {% endblock %} | 143 | {% endblock %} |
137 | 144 | ||
145 | {% block content %} | ||
146 | |||
147 | <div id="notifications" class="side-nav"> | ||
148 | {% if app.user.notifications is not empty %} | ||
149 | <div class="notifications-area"> | ||
150 | <ul class="collection"> | ||
151 | {% for notification in get_notifications() | slice(0, 10) %} | ||
152 | <li class="notification collection-item avatar{% if not notification.read %} light-blue lighten-5{% else %} grey-text{% endif %}"> | ||
153 | <i class="material-icons circle">{% spaceless %} | ||
154 | {% if notification.type == constant('TYPE_ADMIN', notification) %} | ||
155 | build | ||
156 | {% elseif notification.type == constant('TYPE_USER', notification) %} | ||
157 | person | ||
158 | {% elseif notification.type == constant('TYPE_RELEASE', notification) %} | ||
159 | new_releases | ||
160 | {% endif %} | ||
161 | {% endspaceless %}</i> | ||
162 | <span class="title">{{ notification.title | trans(notification.parameters) }}</span> | ||
163 | <p>{{ notification.description | trans(notification.parameters) }}</p> | ||
164 | <time datetime="{{ notification.timestamp | date }}">{{ notification.timestamp | time_diff }}</time> | ||
165 | <div> | ||
166 | {% for action in notification.actions %} | ||
167 | <a class="notification-action-button btn waves-effect waves-light {% spaceless %} | ||
168 | {% if action.type == constant('TYPE_OK', action) %} | ||
169 | {% elseif action.type == constant('TYPE_YES', action) %} | ||
170 | cyan | ||
171 | {% elseif action.type == constant('TYPE_NO', action) %} | ||
172 | red | ||
173 | {% elseif action.type == constant('TYPE_INFO', action) %} | ||
174 | blue-grey | ||
175 | {% endif %} | ||
176 | {% if notification.read %}lighten-3{% endif %} | ||
177 | {% endspaceless %}" href="{{ path('notification-archive-redirect', {'redirection': action.link, 'notification': notification.id}) }}">{{ action.label | trans(notification.parameters) }}</a> | ||
178 | {% endfor %} | ||
179 | </div> | ||
180 | </li> | ||
181 | {% endfor %} | ||
182 | </ul> | ||
183 | </div> | ||
184 | <a href="{{ path('notification-archive-all') }}" class="btn-light waves-effect waves-light right"><i class="material-icons">done_all</i> {{ 'notifications.list.mark_all_as_read' | trans }}</a> | ||
185 | <a class="waves-effect waves-light btn view-more" href="{{ path('notifications-all') }}">{{ 'notifications.sidebar.view_more' | trans }}</a> | ||
186 | {% else %} | ||
187 | <div class="no-notifications grey-text">{{ 'notifications.list.none' | trans }}</div> | ||
188 | {% endif %} | ||
189 | </div> | ||
190 | {% endblock %} | ||
191 | |||
138 | {% block footer %} | 192 | {% block footer %} |
139 | <footer class="page-footer cyan darken-2"> | 193 | <footer class="page-footer cyan darken-2"> |
140 | <div class="footer-copyright"> | 194 | <div class="footer-copyright"> |
diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php index 351172c4..fa63ba24 100644 --- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php +++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php | |||
@@ -4,7 +4,9 @@ namespace Wallabag\CoreBundle\Twig; | |||
4 | 4 | ||
5 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; | 5 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
6 | use Symfony\Component\Translation\TranslatorInterface; | 6 | use Symfony\Component\Translation\TranslatorInterface; |
7 | use Wallabag\CoreBundle\Notifications\NotificationInterface; | ||
7 | use Wallabag\CoreBundle\Repository\EntryRepository; | 8 | use Wallabag\CoreBundle\Repository\EntryRepository; |
9 | use Wallabag\CoreBundle\Repository\NotificationRepository; | ||
8 | use Wallabag\CoreBundle\Repository\TagRepository; | 10 | use Wallabag\CoreBundle\Repository\TagRepository; |
9 | 11 | ||
10 | class WallabagExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface | 12 | class WallabagExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface |
@@ -12,15 +14,19 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa | |||
12 | private $tokenStorage; | 14 | private $tokenStorage; |
13 | private $entryRepository; | 15 | private $entryRepository; |
14 | private $tagRepository; | 16 | private $tagRepository; |
17 | private $notificationRepository; | ||
15 | private $lifeTime; | 18 | private $lifeTime; |
19 | private $nbNotifications; | ||
16 | private $translator; | 20 | private $translator; |
17 | 21 | ||
18 | public function __construct(EntryRepository $entryRepository, TagRepository $tagRepository, TokenStorageInterface $tokenStorage, $lifeTime, TranslatorInterface $translator) | 22 | public function __construct(EntryRepository $entryRepository, TagRepository $tagRepository, NotificationRepository $notificationRepository, TokenStorageInterface $tokenStorage, $lifeTime, $nbNotifications, TranslatorInterface $translator) |
19 | { | 23 | { |
20 | $this->entryRepository = $entryRepository; | 24 | $this->entryRepository = $entryRepository; |
21 | $this->tagRepository = $tagRepository; | 25 | $this->tagRepository = $tagRepository; |
26 | $this->notificationRepository = $notificationRepository; | ||
22 | $this->tokenStorage = $tokenStorage; | 27 | $this->tokenStorage = $tokenStorage; |
23 | $this->lifeTime = $lifeTime; | 28 | $this->lifeTime = $lifeTime; |
29 | $this->nbNotifications = $nbNotifications; | ||
24 | $this->translator = $translator; | 30 | $this->translator = $translator; |
25 | } | 31 | } |
26 | 32 | ||
@@ -28,6 +34,7 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa | |||
28 | { | 34 | { |
29 | return [ | 35 | return [ |
30 | new \Twig_SimpleFilter('removeWww', [$this, 'removeWww']), | 36 | new \Twig_SimpleFilter('removeWww', [$this, 'removeWww']), |
37 | new \Twig_SimpleFilter('unread_notif', [$this, 'unreadNotif']), | ||
31 | ]; | 38 | ]; |
32 | } | 39 | } |
33 | 40 | ||
@@ -37,6 +44,7 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa | |||
37 | new \Twig_SimpleFunction('count_entries', [$this, 'countEntries']), | 44 | new \Twig_SimpleFunction('count_entries', [$this, 'countEntries']), |
38 | new \Twig_SimpleFunction('count_tags', [$this, 'countTags']), | 45 | new \Twig_SimpleFunction('count_tags', [$this, 'countTags']), |
39 | new \Twig_SimpleFunction('display_stats', [$this, 'displayStats']), | 46 | new \Twig_SimpleFunction('display_stats', [$this, 'displayStats']), |
47 | new \Twig_SimpleFunction('get_notifications', [$this, 'getNotifications']), | ||
40 | ]; | 48 | ]; |
41 | } | 49 | } |
42 | 50 | ||
@@ -46,6 +54,17 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa | |||
46 | } | 54 | } |
47 | 55 | ||
48 | /** | 56 | /** |
57 | * @param $notifs | ||
58 | * @return array | ||
59 | */ | ||
60 | public function unreadNotif($notifs) | ||
61 | { | ||
62 | return array_filter($notifs, function (NotificationInterface $notif) { | ||
63 | return !$notif->isRead(); | ||
64 | }); | ||
65 | } | ||
66 | |||
67 | /** | ||
49 | * Return number of entries depending of the type (unread, archive, starred or all). | 68 | * Return number of entries depending of the type (unread, archive, starred or all). |
50 | * | 69 | * |
51 | * @param string $type Type of entries to count | 70 | * @param string $type Type of entries to count |
@@ -107,6 +126,21 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa | |||
107 | return $this->tagRepository->countAllTags($user->getId()); | 126 | return $this->tagRepository->countAllTags($user->getId()); |
108 | } | 127 | } |
109 | 128 | ||
129 | public function getNotifications() | ||
130 | { | ||
131 | $user = $this->tokenStorage->getToken() ? $this->tokenStorage->getToken()->getUser() : null; | ||
132 | |||
133 | if (null === $user || !is_object($user)) { | ||
134 | return 0; | ||
135 | } | ||
136 | |||
137 | return $this->notificationRepository->findBy( | ||
138 | ['user' => $user->getId()], | ||
139 | ['timestamp' => 'DESC'], | ||
140 | $this->nbNotifications | ||
141 | ); | ||
142 | } | ||
143 | |||
110 | /** | 144 | /** |
111 | * Display a single line about reading stats. | 145 | * Display a single line about reading stats. |
112 | * | 146 | * |
@@ -143,9 +177,4 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa | |||
143 | '%per_day%' => round($nbArchives / $nbDays, 2), | 177 | '%per_day%' => round($nbArchives / $nbDays, 2), |
144 | ]); | 178 | ]); |
145 | } | 179 | } |
146 | |||
147 | public function getName() | ||
148 | { | ||
149 | return 'wallabag_extension'; | ||
150 | } | ||
151 | } | 180 | } |
diff --git a/src/Wallabag/UserBundle/Entity/User.php b/src/Wallabag/UserBundle/Entity/User.php index 53c327f9..815a1902 100644 --- a/src/Wallabag/UserBundle/Entity/User.php +++ b/src/Wallabag/UserBundle/Entity/User.php | |||
@@ -88,6 +88,11 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf | |||
88 | protected $entries; | 88 | protected $entries; |
89 | 89 | ||
90 | /** | 90 | /** |
91 | * @ORM\OneToMany(targetEntity="Wallabag\CoreBundle\Entity\Notification", mappedBy="user", cascade={"remove"}) | ||
92 | */ | ||
93 | protected $notifications; | ||
94 | |||
95 | /** | ||
91 | * @ORM\OneToOne(targetEntity="Wallabag\CoreBundle\Entity\Config", mappedBy="user", cascade={"remove"}) | 96 | * @ORM\OneToOne(targetEntity="Wallabag\CoreBundle\Entity\Config", mappedBy="user", cascade={"remove"}) |
92 | */ | 97 | */ |
93 | protected $config; | 98 | protected $config; |
@@ -319,4 +324,20 @@ class User extends BaseUser implements TwoFactorInterface, TrustedComputerInterf | |||
319 | return $this->clients->first(); | 324 | return $this->clients->first(); |
320 | } | 325 | } |
321 | } | 326 | } |
327 | |||
328 | /** | ||
329 | * @return ArrayCollection<NotificationInterface> | ||
330 | */ | ||
331 | public function getNotifications() | ||
332 | { | ||
333 | return $this->notifications; | ||
334 | } | ||
335 | |||
336 | /** | ||
337 | * @param ArrayCollection<NotificationInterface> $notifications | ||
338 | */ | ||
339 | public function setNotifications($notifications) | ||
340 | { | ||
341 | $this->notifications = $notifications; | ||
342 | } | ||
322 | } | 343 | } |
diff --git a/src/Wallabag/UserBundle/Resources/views/manage.html.twig b/src/Wallabag/UserBundle/Resources/views/manage.html.twig index c614c55f..10d8050c 100644 --- a/src/Wallabag/UserBundle/Resources/views/manage.html.twig +++ b/src/Wallabag/UserBundle/Resources/views/manage.html.twig | |||
@@ -3,7 +3,7 @@ | |||
3 | {% block title %}{{ 'user.manage.page_title'|trans }}{% endblock %} | 3 | {% block title %}{{ 'user.manage.page_title'|trans }}{% endblock %} |
4 | 4 | ||
5 | {% block content %} | 5 | {% block content %} |
6 | 6 | {{ parent() }} | |
7 | <div class="row"> | 7 | <div class="row"> |
8 | <div class="col s12"> | 8 | <div class="col s12"> |
9 | <div class="card-panel"> | 9 | <div class="card-panel"> |
diff --git a/tests/Wallabag/CoreBundle/Command/AdminNotificationCommandTest.php b/tests/Wallabag/CoreBundle/Command/AdminNotificationCommandTest.php new file mode 100644 index 00000000..42d243dd --- /dev/null +++ b/tests/Wallabag/CoreBundle/Command/AdminNotificationCommandTest.php | |||
@@ -0,0 +1,101 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Tests\Wallabag\CoreBundle\Command; | ||
4 | |||
5 | use Symfony\Bundle\FrameworkBundle\Console\Application; | ||
6 | use Symfony\Component\Console\Tester\CommandTester; | ||
7 | use Wallabag\CoreBundle\Command\AdminNotificationCommand; | ||
8 | use Wallabag\CoreBundle\Command\CleanDuplicatesCommand; | ||
9 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; | ||
10 | |||
11 | class AdminNotificationCommandTest extends WallabagCoreTestCase | ||
12 | { | ||
13 | /** | ||
14 | * @expectedException \Symfony\Component\Console\Exception\RuntimeException | ||
15 | * @expectedExceptionMessage Not enough arguments | ||
16 | */ | ||
17 | public function testRunWithoutArguments() | ||
18 | { | ||
19 | $application = new Application($this->getClient()->getKernel()); | ||
20 | $application->add(new AdminNotificationCommand()); | ||
21 | |||
22 | $command = $application->find('wallabag:notification:send'); | ||
23 | |||
24 | $tester = new CommandTester($command); | ||
25 | $tester->execute([ | ||
26 | 'command' => $command->getName(), | ||
27 | ]); | ||
28 | } | ||
29 | |||
30 | public function testRunSendNotificationCommandWithBadUsername() | ||
31 | { | ||
32 | $application = new Application($this->getClient()->getKernel()); | ||
33 | $application->add(new AdminNotificationCommand()); | ||
34 | |||
35 | $command = $application->find('wallabag:notification:send'); | ||
36 | |||
37 | $tester = new CommandTester($command); | ||
38 | $tester->execute([ | ||
39 | 'command' => $command->getName(), | ||
40 | 'username' => 'unknown', | ||
41 | 'title' => 'foo', | ||
42 | 'message' => 'bar' | ||
43 | ]); | ||
44 | |||
45 | $this->assertContains('User "unknown" not found', $tester->getDisplay()); | ||
46 | } | ||
47 | |||
48 | public function testSendNotificationCommandForUser() | ||
49 | { | ||
50 | $application = new Application($this->getClient()->getKernel()); | ||
51 | $application->add(new AdminNotificationCommand()); | ||
52 | |||
53 | $command = $application->find('wallabag:notification:send'); | ||
54 | |||
55 | $tester = new CommandTester($command); | ||
56 | $tester->execute([ | ||
57 | 'command' => $command->getName(), | ||
58 | 'username' => 'admin', | ||
59 | 'title' => 'foo', | ||
60 | 'message' => 'bar' | ||
61 | ]); | ||
62 | |||
63 | $this->assertContains('Sent notification for user admin', $tester->getDisplay()); | ||
64 | } | ||
65 | |||
66 | public function testSendNotificationCommand() | ||
67 | { | ||
68 | $client = $this->getClient(); | ||
69 | $em = $client->getContainer()->get('doctrine.orm.entity_manager'); | ||
70 | |||
71 | $this->logInAs('admin'); | ||
72 | |||
73 | $notifications = $em->getRepository('WallabagCoreBundle:Notification')->findByUser($this->getLoggedInUserId()); | ||
74 | |||
75 | $this->assertCount(0, $notifications); | ||
76 | |||
77 | $application = new Application($this->getClient()->getKernel()); | ||
78 | $application->add(new CleanDuplicatesCommand()); | ||
79 | |||
80 | $command = $application->find('wallabag:notification:send'); | ||
81 | |||
82 | $tester = new CommandTester($command); | ||
83 | $tester->execute([ | ||
84 | 'command' => $command->getName(), | ||
85 | 'username' => 'admin', | ||
86 | 'title' => 'foo', | ||
87 | 'message' => 'bar' | ||
88 | ]); | ||
89 | |||
90 | $this->assertContains('Sent notification for user admin', $tester->getDisplay()); | ||
91 | |||
92 | $notifications = $em->getRepository('WallabagCoreBundle:Notification')->findByUser($this->getLoggedInUserId()); | ||
93 | |||
94 | $this->assertCount(1, $notifications); | ||
95 | |||
96 | $crawler = $client->request('GET', '/'); | ||
97 | |||
98 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); | ||
99 | $this->assertCount(1, $crawler->filter('.notifications-area .collection')); | ||
100 | } | ||
101 | } | ||
diff --git a/tests/Wallabag/CoreBundle/Command/ReleaseNotificationCommandTest.php b/tests/Wallabag/CoreBundle/Command/ReleaseNotificationCommandTest.php new file mode 100644 index 00000000..9b1990a2 --- /dev/null +++ b/tests/Wallabag/CoreBundle/Command/ReleaseNotificationCommandTest.php | |||
@@ -0,0 +1,96 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Tests\Wallabag\CoreBundle\Command; | ||
4 | |||
5 | use Symfony\Bundle\FrameworkBundle\Console\Application; | ||
6 | use Symfony\Component\Console\Tester\CommandTester; | ||
7 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; | ||
8 | use Wallabag\CoreBundle\Command\ReleaseNotificationCommand; | ||
9 | |||
10 | class ReleaseNotificationCommandTest extends WallabagCoreTestCase | ||
11 | { | ||
12 | public function testRunWithoutArguments() | ||
13 | { | ||
14 | $application = new Application($this->getClient()->getKernel()); | ||
15 | $application->add(new ReleaseNotificationCommand()); | ||
16 | |||
17 | $command = $application->find('wallabag:notification:release'); | ||
18 | |||
19 | $tester = new CommandTester($command); | ||
20 | $tester->execute([ | ||
21 | 'command' => $command->getName(), | ||
22 | ]); | ||
23 | |||
24 | $this->assertContains('Sent notification for user admin', $tester->getDisplay()); | ||
25 | $this->assertContains('Finished sending notifications.', $tester->getDisplay()); | ||
26 | } | ||
27 | |||
28 | public function testRunSendReleaseNotificationCommandWithBadUsername() | ||
29 | { | ||
30 | $application = new Application($this->getClient()->getKernel()); | ||
31 | $application->add(new ReleaseNotificationCommand()); | ||
32 | |||
33 | $command = $application->find('wallabag:notification:release'); | ||
34 | |||
35 | $tester = new CommandTester($command); | ||
36 | $tester->execute([ | ||
37 | 'command' => $command->getName(), | ||
38 | 'username' => 'unknown', | ||
39 | 'link' => 'https://wallabag.org', | ||
40 | ]); | ||
41 | |||
42 | $this->assertContains('User "unknown" not found', $tester->getDisplay()); | ||
43 | } | ||
44 | |||
45 | public function testSendReleaseNotificationCommandForUser() | ||
46 | { | ||
47 | $application = new Application($this->getClient()->getKernel()); | ||
48 | $application->add(new ReleaseNotificationCommand()); | ||
49 | |||
50 | $command = $application->find('wallabag:notification:release'); | ||
51 | |||
52 | $tester = new CommandTester($command); | ||
53 | $tester->execute([ | ||
54 | 'command' => $command->getName(), | ||
55 | 'username' => 'admin', | ||
56 | 'link' => 'https://wallabag.org', | ||
57 | ]); | ||
58 | |||
59 | $this->assertContains('Sent notification for user admin', $tester->getDisplay()); | ||
60 | } | ||
61 | |||
62 | public function testSendReleaseNotificationCommand() | ||
63 | { | ||
64 | $client = $this->getClient(); | ||
65 | $em = $client->getContainer()->get('doctrine.orm.entity_manager'); | ||
66 | |||
67 | $this->logInAs('admin'); | ||
68 | |||
69 | $notifications = $em->getRepository('WallabagCoreBundle:Notification')->findByUser($this->getLoggedInUserId()); | ||
70 | |||
71 | $this->assertCount(0, $notifications); | ||
72 | |||
73 | $application = new Application($this->getClient()->getKernel()); | ||
74 | $application->add(new ReleaseNotificationCommand()); | ||
75 | |||
76 | $command = $application->find('wallabag:notification:release'); | ||
77 | |||
78 | $tester = new CommandTester($command); | ||
79 | $tester->execute([ | ||
80 | 'command' => $command->getName(), | ||
81 | 'username' => 'admin', | ||
82 | 'link' => 'https://wallabag.org', | ||
83 | ]); | ||
84 | |||
85 | $this->assertContains('Sent notification for user admin', $tester->getDisplay()); | ||
86 | |||
87 | $notifications = $em->getRepository('WallabagCoreBundle:Notification')->findByUser($this->getLoggedInUserId()); | ||
88 | |||
89 | $this->assertCount(1, $notifications); | ||
90 | |||
91 | $crawler = $client->request('GET', '/'); | ||
92 | |||
93 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); | ||
94 | $this->assertCount(1, $crawler->filter('.notifications-area .collection')); | ||
95 | } | ||
96 | } | ||
diff --git a/tests/Wallabag/CoreBundle/Controller/NotificationControllerTest.php b/tests/Wallabag/CoreBundle/Controller/NotificationControllerTest.php new file mode 100644 index 00000000..e92528ca --- /dev/null +++ b/tests/Wallabag/CoreBundle/Controller/NotificationControllerTest.php | |||
@@ -0,0 +1,32 @@ | |||
1 | <?php | ||
2 | |||
3 | namespace Tests\Wallabag\CoreBundle\Controller; | ||
4 | |||
5 | use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; | ||
6 | use Wallabag\CoreBundle\Entity\Notification; | ||
7 | |||
8 | class NotificationControllerTest extends WallabagCoreTestCase | ||
9 | { | ||
10 | public function testDisplayNotification() | ||
11 | { | ||
12 | $this->logInAs('admin'); | ||
13 | |||
14 | $client = $this->getClient(); | ||
15 | |||
16 | $em = $client->getContainer() | ||
17 | ->get('doctrine.orm.entity_manager'); | ||
18 | |||
19 | $notification = new Notification($this->getLoggedInUser()); | ||
20 | $notification->setType(Notification::TYPE_USER) | ||
21 | ->setTitle('fooTitle') | ||
22 | ->setDescription('barDescription'); | ||
23 | |||
24 | $em->persist($notification); | ||
25 | $em->flush(); | ||
26 | |||
27 | $crawler = $client->request('GET', '/'); | ||
28 | $this->assertCount(1, $notificationArea = $crawler->filter('.notifications-area .collection')); | ||
29 | $this->assertContains('fooTitle', $notificationArea->text()); | ||
30 | $this->assertContains('barDescription', $notificationArea->text()); | ||
31 | } | ||
32 | } | ||
diff --git a/tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php b/tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php index ceec4b37..1fca2251 100644 --- a/tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php +++ b/tests/Wallabag/CoreBundle/Twig/WallabagExtensionTest.php | |||
@@ -16,6 +16,10 @@ class WallabagExtensionTest extends \PHPUnit_Framework_TestCase | |||
16 | ->disableOriginalConstructor() | 16 | ->disableOriginalConstructor() |
17 | ->getMock(); | 17 | ->getMock(); |
18 | 18 | ||
19 | $notificationRepository = $this->getMockBuilder('Wallabag\CoreBundle\Repository\NotificationRepository') | ||
20 | ->disableOriginalConstructor() | ||
21 | ->getMock(); | ||
22 | |||
19 | $tokenStorage = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface') | 23 | $tokenStorage = $this->getMockBuilder('Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface') |
20 | ->disableOriginalConstructor() | 24 | ->disableOriginalConstructor() |
21 | ->getMock(); | 25 | ->getMock(); |
@@ -24,7 +28,7 @@ class WallabagExtensionTest extends \PHPUnit_Framework_TestCase | |||
24 | ->disableOriginalConstructor() | 28 | ->disableOriginalConstructor() |
25 | ->getMock(); | 29 | ->getMock(); |
26 | 30 | ||
27 | $extension = new WallabagExtension($entryRepository, $tagRepository, $tokenStorage, 0, $translator); | 31 | $extension = new WallabagExtension($entryRepository, $tagRepository, $notificationRepository, $tokenStorage, 0, 5, $translator); |
28 | 32 | ||
29 | $this->assertSame('lemonde.fr', $extension->removeWww('www.lemonde.fr')); | 33 | $this->assertSame('lemonde.fr', $extension->removeWww('www.lemonde.fr')); |
30 | $this->assertSame('lemonde.fr', $extension->removeWww('lemonde.fr')); | 34 | $this->assertSame('lemonde.fr', $extension->removeWww('lemonde.fr')); |
diff --git a/web/bundles/wallabagcore/material.css b/web/bundles/wallabagcore/material.css index 30434d08..5737a05d 100644 --- a/web/bundles/wallabagcore/material.css +++ b/web/bundles/wallabagcore/material.css | |||
@@ -1,2 +1,2 @@ | |||
1 | .materialize-red{background-color:#e51c23!important}.materialize-red-text{color:#e51c23!important}.materialize-red.lighten-5{background-color:#fdeaeb!important}.materialize-red-text.text-lighten-5{color:#fdeaeb!important}.materialize-red.lighten-4{background-color:#f8c1c3!important}.materialize-red-text.text-lighten-4{color:#f8c1c3!important}.materialize-red.lighten-3{background-color:#f3989b!important}.materialize-red-text.text-lighten-3{color:#f3989b!important}.materialize-red.lighten-2{background-color:#ee6e73!important}.materialize-red-text.text-lighten-2{color:#ee6e73!important}.materialize-red.lighten-1{background-color:#ea454b!important}.materialize-red-text.text-lighten-1{color:#ea454b!important}.materialize-red.darken-1{background-color:#d0181e!important}.materialize-red-text.text-darken-1{color:#d0181e!important}.materialize-red.darken-2{background-color:#b9151b!important}.materialize-red-text.text-darken-2{color:#b9151b!important}.materialize-red.darken-3{background-color:#a21318!important}.materialize-red-text.text-darken-3{color:#a21318!important}.materialize-red.darken-4{background-color:#8b1014!important}.materialize-red-text.text-darken-4{color:#8b1014!important}.red{background-color:#f44336!important}.red-text{color:#f44336!important}.red.lighten-5{background-color:#ffebee!important}.red-text.text-lighten-5{color:#ffebee!important}.red.lighten-4{background-color:#ffcdd2!important}.red-text.text-lighten-4{color:#ffcdd2!important}.red.lighten-3{background-color:#ef9a9a!important}.red-text.text-lighten-3{color:#ef9a9a!important}.red.lighten-2{background-color:#e57373!important}.red-text.text-lighten-2{color:#e57373!important}.red.lighten-1{background-color:#ef5350!important}.red-text.text-lighten-1{color:#ef5350!important}.red.darken-1{background-color:#e53935!important}.red-text.text-darken-1{color:#e53935!important}.red.darken-2{background-color:#d32f2f!important}.red-text.text-darken-2{color:#d32f2f!important}.red.darken-3{background-color:#c62828!important}.red-text.text-darken-3{color:#c62828!important}.red.darken-4{background-color:#b71c1c!important}.red-text.text-darken-4{color:#b71c1c!important}.red.accent-1{background-color:#ff8a80!important}.red-text.text-accent-1{color:#ff8a80!important}.red.accent-2{background-color:#ff5252!important}.red-text.text-accent-2{color:#ff5252!important}.red.accent-3{background-color:#ff1744!important}.red-text.text-accent-3{color:#ff1744!important}.red.accent-4{background-color:#d50000!important}.red-text.text-accent-4{color:#d50000!important}.pink{background-color:#e91e63!important}.pink-text{color:#e91e63!important}.pink.lighten-5{background-color:#fce4ec!important}.pink-text.text-lighten-5{color:#fce4ec!important}.pink.lighten-4{background-color:#f8bbd0!important}.pink-text.text-lighten-4{color:#f8bbd0!important}.pink.lighten-3{background-color:#f48fb1!important}.pink-text.text-lighten-3{color:#f48fb1!important}.pink.lighten-2{background-color:#f06292!important}.pink-text.text-lighten-2{color:#f06292!important}.pink.lighten-1{background-color:#ec407a!important}.pink-text.text-lighten-1{color:#ec407a!important}.pink.darken-1{background-color:#d81b60!important}.pink-text.text-darken-1{color:#d81b60!important}.pink.darken-2{background-color:#c2185b!important}.pink-text.text-darken-2{color:#c2185b!important}.pink.darken-3{background-color:#ad1457!important}.pink-text.text-darken-3{color:#ad1457!important}.pink.darken-4{background-color:#880e4f!important}.pink-text.text-darken-4{color:#880e4f!important}.pink.accent-1{background-color:#ff80ab!important}.pink-text.text-accent-1{color:#ff80ab!important}.pink.accent-2{background-color:#ff4081!important}.pink-text.text-accent-2{color:#ff4081!important}.pink.accent-3{background-color:#f50057!important}.pink-text.text-accent-3{color:#f50057!important}.pink.accent-4{background-color:#c51162!important}.pink-text.text-accent-4{color:#c51162!important}.purple{background-color:#9c27b0!important}.purple-text{color:#9c27b0!important}.purple.lighten-5{background-color:#f3e5f5!important}.purple-text.text-lighten-5{color:#f3e5f5!important}.purple.lighten-4{background-color:#e1bee7!important}.purple-text.text-lighten-4{color:#e1bee7!important}.purple.lighten-3{background-color:#ce93d8!important}.purple-text.text-lighten-3{color:#ce93d8!important}.purple.lighten-2{background-color:#ba68c8!important}.purple-text.text-lighten-2{color:#ba68c8!important}.purple.lighten-1{background-color:#ab47bc!important}.purple-text.text-lighten-1{color:#ab47bc!important}.purple.darken-1{background-color:#8e24aa!important}.purple-text.text-darken-1{color:#8e24aa!important}.purple.darken-2{background-color:#7b1fa2!important}.purple-text.text-darken-2{color:#7b1fa2!important}.purple.darken-3{background-color:#6a1b9a!important}.purple-text.text-darken-3{color:#6a1b9a!important}.purple.darken-4{background-color:#4a148c!important}.purple-text.text-darken-4{color:#4a148c!important}.purple.accent-1{background-color:#ea80fc!important}.purple-text.text-accent-1{color:#ea80fc!important}.purple.accent-2{background-color:#e040fb!important}.purple-text.text-accent-2{color:#e040fb!important}.purple.accent-3{background-color:#d500f9!important}.purple-text.text-accent-3{color:#d500f9!important}.purple.accent-4{background-color:#a0f!important}.purple-text.text-accent-4{color:#a0f!important}.deep-purple{background-color:#673ab7!important}.deep-purple-text{color:#673ab7!important}.deep-purple.lighten-5{background-color:#ede7f6!important}.deep-purple-text.text-lighten-5{color:#ede7f6!important}.deep-purple.lighten-4{background-color:#d1c4e9!important}.deep-purple-text.text-lighten-4{color:#d1c4e9!important}.deep-purple.lighten-3{background-color:#b39ddb!important}.deep-purple-text.text-lighten-3{color:#b39ddb!important}.deep-purple.lighten-2{background-color:#9575cd!important}.deep-purple-text.text-lighten-2{color:#9575cd!important}.deep-purple.lighten-1{background-color:#7e57c2!important}.deep-purple-text.text-lighten-1{color:#7e57c2!important}.deep-purple.darken-1{background-color:#5e35b1!important}.deep-purple-text.text-darken-1{color:#5e35b1!important}.deep-purple.darken-2{background-color:#512da8!important}.deep-purple-text.text-darken-2{color:#512da8!important}.deep-purple.darken-3{background-color:#4527a0!important}.deep-purple-text.text-darken-3{color:#4527a0!important}.deep-purple.darken-4{background-color:#311b92!important}.deep-purple-text.text-darken-4{color:#311b92!important}.deep-purple.accent-1{background-color:#b388ff!important}.deep-purple-text.text-accent-1{color:#b388ff!important}.deep-purple.accent-2{background-color:#7c4dff!important}.deep-purple-text.text-accent-2{color:#7c4dff!important}.deep-purple.accent-3{background-color:#651fff!important}.deep-purple-text.text-accent-3{color:#651fff!important}.deep-purple.accent-4{background-color:#6200ea!important}.deep-purple-text.text-accent-4{color:#6200ea!important}.indigo{background-color:#3f51b5!important}.indigo-text{color:#3f51b5!important}.indigo.lighten-5{background-color:#e8eaf6!important}.indigo-text.text-lighten-5{color:#e8eaf6!important}.indigo.lighten-4{background-color:#c5cae9!important}.indigo-text.text-lighten-4{color:#c5cae9!important}.indigo.lighten-3{background-color:#9fa8da!important}.indigo-text.text-lighten-3{color:#9fa8da!important}.indigo.lighten-2{background-color:#7986cb!important}.indigo-text.text-lighten-2{color:#7986cb!important}.indigo.lighten-1{background-color:#5c6bc0!important}.indigo-text.text-lighten-1{color:#5c6bc0!important}.indigo.darken-1{background-color:#3949ab!important}.indigo-text.text-darken-1{color:#3949ab!important}.indigo.darken-2{background-color:#303f9f!important}.indigo-text.text-darken-2{color:#303f9f!important}.indigo.darken-3{background-color:#283593!important}.indigo-text.text-darken-3{color:#283593!important}.indigo.darken-4{background-color:#1a237e!important}.indigo-text.text-darken-4{color:#1a237e!important}.indigo.accent-1{background-color:#8c9eff!important}.indigo-text.text-accent-1{color:#8c9eff!important}.indigo.accent-2{background-color:#536dfe!important}.indigo-text.text-accent-2{color:#536dfe!important}.indigo.accent-3{background-color:#3d5afe!important}.indigo-text.text-accent-3{color:#3d5afe!important}.indigo.accent-4{background-color:#304ffe!important}.indigo-text.text-accent-4{color:#304ffe!important}.blue{background-color:#2196f3!important}.blue-text{color:#2196f3!important}.blue.lighten-5{background-color:#e3f2fd!important}.blue-text.text-lighten-5{color:#e3f2fd!important}.blue.lighten-4{background-color:#bbdefb!important}.blue-text.text-lighten-4{color:#bbdefb!important}.blue.lighten-3{background-color:#90caf9!important}.blue-text.text-lighten-3{color:#90caf9!important}.blue.lighten-2{background-color:#64b5f6!important}.blue-text.text-lighten-2{color:#64b5f6!important}.blue.lighten-1{background-color:#42a5f5!important}.blue-text.text-lighten-1{color:#42a5f5!important}.blue.darken-1{background-color:#1e88e5!important}.blue-text.text-darken-1{color:#1e88e5!important}.blue.darken-2{background-color:#1976d2!important}.blue-text.text-darken-2{color:#1976d2!important}.blue.darken-3{background-color:#1565c0!important}.blue-text.text-darken-3{color:#1565c0!important}.blue.darken-4{background-color:#0d47a1!important}.blue-text.text-darken-4{color:#0d47a1!important}.blue.accent-1{background-color:#82b1ff!important}.blue-text.text-accent-1{color:#82b1ff!important}.blue.accent-2{background-color:#448aff!important}.blue-text.text-accent-2{color:#448aff!important}.blue.accent-3{background-color:#2979ff!important}.blue-text.text-accent-3{color:#2979ff!important}.blue.accent-4{background-color:#2962ff!important}.blue-text.text-accent-4{color:#2962ff!important}.light-blue{background-color:#03a9f4!important}.light-blue-text{color:#03a9f4!important}.light-blue.lighten-5{background-color:#e1f5fe!important}.light-blue-text.text-lighten-5{color:#e1f5fe!important}.light-blue.lighten-4{background-color:#b3e5fc!important}.light-blue-text.text-lighten-4{color:#b3e5fc!important}.light-blue.lighten-3{background-color:#81d4fa!important}.light-blue-text.text-lighten-3{color:#81d4fa!important}.light-blue.lighten-2{background-color:#4fc3f7!important}.light-blue-text.text-lighten-2{color:#4fc3f7!important}.light-blue.lighten-1{background-color:#29b6f6!important}.light-blue-text.text-lighten-1{color:#29b6f6!important}.light-blue.darken-1{background-color:#039be5!important}.light-blue-text.text-darken-1{color:#039be5!important}.light-blue.darken-2{background-color:#0288d1!important}.light-blue-text.text-darken-2{color:#0288d1!important}.light-blue.darken-3{background-color:#0277bd!important}.light-blue-text.text-darken-3{color:#0277bd!important}.light-blue.darken-4{background-color:#01579b!important}.light-blue-text.text-darken-4{color:#01579b!important}.light-blue.accent-1{background-color:#80d8ff!important}.light-blue-text.text-accent-1{color:#80d8ff!important}.light-blue.accent-2{background-color:#40c4ff!important}.light-blue-text.text-accent-2{color:#40c4ff!important}.light-blue.accent-3{background-color:#00b0ff!important}.light-blue-text.text-accent-3{color:#00b0ff!important}.light-blue.accent-4{background-color:#0091ea!important}.light-blue-text.text-accent-4{color:#0091ea!important}.cyan{background-color:#00bcd4!important}.cyan-text{color:#00bcd4!important}.cyan.lighten-5{background-color:#e0f7fa!important}.cyan-text.text-lighten-5{color:#e0f7fa!important}.cyan.lighten-4{background-color:#b2ebf2!important}.cyan-text.text-lighten-4{color:#b2ebf2!important}.cyan.lighten-3{background-color:#80deea!important}.cyan-text.text-lighten-3{color:#80deea!important}.cyan.lighten-2{background-color:#4dd0e1!important}.cyan-text.text-lighten-2{color:#4dd0e1!important}.cyan.lighten-1{background-color:#26c6da!important}.cyan-text.text-lighten-1{color:#26c6da!important}.cyan.darken-1{background-color:#00acc1!important}.cyan-text.text-darken-1{color:#00acc1!important}.cyan.darken-2{background-color:#0097a7!important}.cyan-text.text-darken-2{color:#0097a7!important}.cyan.darken-3{background-color:#00838f!important}.cyan-text.text-darken-3{color:#00838f!important}.cyan.darken-4{background-color:#006064!important}.cyan-text.text-darken-4{color:#006064!important}.cyan.accent-1{background-color:#84ffff!important}.cyan-text.text-accent-1{color:#84ffff!important}.cyan.accent-2{background-color:#18ffff!important}.cyan-text.text-accent-2{color:#18ffff!important}.cyan.accent-3{background-color:#00e5ff!important}.cyan-text.text-accent-3{color:#00e5ff!important}.cyan.accent-4{background-color:#00b8d4!important}.cyan-text.text-accent-4{color:#00b8d4!important}.teal{background-color:#009688!important}.teal-text{color:#009688!important}.teal.lighten-5{background-color:#e0f2f1!important}.teal-text.text-lighten-5{color:#e0f2f1!important}.teal.lighten-4{background-color:#b2dfdb!important}.teal-text.text-lighten-4{color:#b2dfdb!important}.teal.lighten-3{background-color:#80cbc4!important}.teal-text.text-lighten-3{color:#80cbc4!important}.teal.lighten-2{background-color:#4db6ac!important}.teal-text.text-lighten-2{color:#4db6ac!important}.teal.lighten-1{background-color:#26a69a!important}.teal-text.text-lighten-1{color:#26a69a!important}.teal.darken-1{background-color:#00897b!important}.teal-text.text-darken-1{color:#00897b!important}.teal.darken-2{background-color:#00796b!important}.teal-text.text-darken-2{color:#00796b!important}.teal.darken-3{background-color:#00695c!important}.teal-text.text-darken-3{color:#00695c!important}.teal.darken-4{background-color:#004d40!important}.teal-text.text-darken-4{color:#004d40!important}.teal.accent-1{background-color:#a7ffeb!important}.teal-text.text-accent-1{color:#a7ffeb!important}.teal.accent-2{background-color:#64ffda!important}.teal-text.text-accent-2{color:#64ffda!important}.teal.accent-3{background-color:#1de9b6!important}.teal-text.text-accent-3{color:#1de9b6!important}.teal.accent-4{background-color:#00bfa5!important}.teal-text.text-accent-4{color:#00bfa5!important}.green{background-color:#4caf50!important}.green-text{color:#4caf50!important}.green.lighten-5{background-color:#e8f5e9!important}.green-text.text-lighten-5{color:#e8f5e9!important}.green.lighten-4{background-color:#c8e6c9!important}.green-text.text-lighten-4{color:#c8e6c9!important}.green.lighten-3{background-color:#a5d6a7!important}.green-text.text-lighten-3{color:#a5d6a7!important}.green.lighten-2{background-color:#81c784!important}.green-text.text-lighten-2{color:#81c784!important}.green.lighten-1{background-color:#66bb6a!important}.green-text.text-lighten-1{color:#66bb6a!important}.green.darken-1{background-color:#43a047!important}.green-text.text-darken-1{color:#43a047!important}.green.darken-2{background-color:#388e3c!important}.green-text.text-darken-2{color:#388e3c!important}.green.darken-3{background-color:#2e7d32!important}.green-text.text-darken-3{color:#2e7d32!important}.green.darken-4{background-color:#1b5e20!important}.green-text.text-darken-4{color:#1b5e20!important}.green.accent-1{background-color:#b9f6ca!important}.green-text.text-accent-1{color:#b9f6ca!important}.green.accent-2{background-color:#69f0ae!important}.green-text.text-accent-2{color:#69f0ae!important}.green.accent-3{background-color:#00e676!important}.green-text.text-accent-3{color:#00e676!important}.green.accent-4{background-color:#00c853!important}.green-text.text-accent-4{color:#00c853!important}.light-green{background-color:#8bc34a!important}.light-green-text{color:#8bc34a!important}.light-green.lighten-5{background-color:#f1f8e9!important}.light-green-text.text-lighten-5{color:#f1f8e9!important}.light-green.lighten-4{background-color:#dcedc8!important}.light-green-text.text-lighten-4{color:#dcedc8!important}.light-green.lighten-3{background-color:#c5e1a5!important}.light-green-text.text-lighten-3{color:#c5e1a5!important}.light-green.lighten-2{background-color:#aed581!important}.light-green-text.text-lighten-2{color:#aed581!important}.light-green.lighten-1{background-color:#9ccc65!important}.light-green-text.text-lighten-1{color:#9ccc65!important}.light-green.darken-1{background-color:#7cb342!important}.light-green-text.text-darken-1{color:#7cb342!important}.light-green.darken-2{background-color:#689f38!important}.light-green-text.text-darken-2{color:#689f38!important}.light-green.darken-3{background-color:#558b2f!important}.light-green-text.text-darken-3{color:#558b2f!important}.light-green.darken-4{background-color:#33691e!important}.light-green-text.text-darken-4{color:#33691e!important}.light-green.accent-1{background-color:#ccff90!important}.light-green-text.text-accent-1{color:#ccff90!important}.light-green.accent-2{background-color:#b2ff59!important}.light-green-text.text-accent-2{color:#b2ff59!important}.light-green.accent-3{background-color:#76ff03!important}.light-green-text.text-accent-3{color:#76ff03!important}.light-green.accent-4{background-color:#64dd17!important}.light-green-text.text-accent-4{color:#64dd17!important}.lime{background-color:#cddc39!important}.lime-text{color:#cddc39!important}.lime.lighten-5{background-color:#f9fbe7!important}.lime-text.text-lighten-5{color:#f9fbe7!important}.lime.lighten-4{background-color:#f0f4c3!important}.lime-text.text-lighten-4{color:#f0f4c3!important}.lime.lighten-3{background-color:#e6ee9c!important}.lime-text.text-lighten-3{color:#e6ee9c!important}.lime.lighten-2{background-color:#dce775!important}.lime-text.text-lighten-2{color:#dce775!important}.lime.lighten-1{background-color:#d4e157!important}.lime-text.text-lighten-1{color:#d4e157!important}.lime.darken-1{background-color:#c0ca33!important}.lime-text.text-darken-1{color:#c0ca33!important}.lime.darken-2{background-color:#afb42b!important}.lime-text.text-darken-2{color:#afb42b!important}.lime.darken-3{background-color:#9e9d24!important}.lime-text.text-darken-3{color:#9e9d24!important}.lime.darken-4{background-color:#827717!important}.lime-text.text-darken-4{color:#827717!important}.lime.accent-1{background-color:#f4ff81!important}.lime-text.text-accent-1{color:#f4ff81!important}.lime.accent-2{background-color:#eeff41!important}.lime-text.text-accent-2{color:#eeff41!important}.lime.accent-3{background-color:#c6ff00!important}.lime-text.text-accent-3{color:#c6ff00!important}.lime.accent-4{background-color:#aeea00!important}.lime-text.text-accent-4{color:#aeea00!important}.yellow{background-color:#ffeb3b!important}.yellow-text{color:#ffeb3b!important}.yellow.lighten-5{background-color:#fffde7!important}.yellow-text.text-lighten-5{color:#fffde7!important}.yellow.lighten-4{background-color:#fff9c4!important}.yellow-text.text-lighten-4{color:#fff9c4!important}.yellow.lighten-3{background-color:#fff59d!important}.yellow-text.text-lighten-3{color:#fff59d!important}.yellow.lighten-2{background-color:#fff176!important}.yellow-text.text-lighten-2{color:#fff176!important}.yellow.lighten-1{background-color:#ffee58!important}.yellow-text.text-lighten-1{color:#ffee58!important}.yellow.darken-1{background-color:#fdd835!important}.yellow-text.text-darken-1{color:#fdd835!important}.yellow.darken-2{background-color:#fbc02d!important}.yellow-text.text-darken-2{color:#fbc02d!important}.yellow.darken-3{background-color:#f9a825!important}.yellow-text.text-darken-3{color:#f9a825!important}.yellow.darken-4{background-color:#f57f17!important}.yellow-text.text-darken-4{color:#f57f17!important}.yellow.accent-1{background-color:#ffff8d!important}.yellow-text.text-accent-1{color:#ffff8d!important}.yellow.accent-2{background-color:#ff0!important}.yellow-text.text-accent-2{color:#ff0!important}.yellow.accent-3{background-color:#ffea00!important}.yellow-text.text-accent-3{color:#ffea00!important}.yellow.accent-4{background-color:#ffd600!important}.yellow-text.text-accent-4{color:#ffd600!important}.amber{background-color:#ffc107!important}.amber-text{color:#ffc107!important}.amber.lighten-5{background-color:#fff8e1!important}.amber-text.text-lighten-5{color:#fff8e1!important}.amber.lighten-4{background-color:#ffecb3!important}.amber-text.text-lighten-4{color:#ffecb3!important}.amber.lighten-3{background-color:#ffe082!important}.amber-text.text-lighten-3{color:#ffe082!important}.amber.lighten-2{background-color:#ffd54f!important}.amber-text.text-lighten-2{color:#ffd54f!important}.amber.lighten-1{background-color:#ffca28!important}.amber-text.text-lighten-1{color:#ffca28!important}.amber.darken-1{background-color:#ffb300!important}.amber-text.text-darken-1{color:#ffb300!important}.amber.darken-2{background-color:#ffa000!important}.amber-text.text-darken-2{color:#ffa000!important}.amber.darken-3{background-color:#ff8f00!important}.amber-text.text-darken-3{color:#ff8f00!important}.amber.darken-4{background-color:#ff6f00!important}.amber-text.text-darken-4{color:#ff6f00!important}.amber.accent-1{background-color:#ffe57f!important}.amber-text.text-accent-1{color:#ffe57f!important}.amber.accent-2{background-color:#ffd740!important}.amber-text.text-accent-2{color:#ffd740!important}.amber.accent-3{background-color:#ffc400!important}.amber-text.text-accent-3{color:#ffc400!important}.amber.accent-4{background-color:#ffab00!important}.amber-text.text-accent-4{color:#ffab00!important}.orange{background-color:#ff9800!important}.orange-text{color:#ff9800!important}.orange.lighten-5{background-color:#fff3e0!important}.orange-text.text-lighten-5{color:#fff3e0!important}.orange.lighten-4{background-color:#ffe0b2!important}.orange-text.text-lighten-4{color:#ffe0b2!important}.orange.lighten-3{background-color:#ffcc80!important}.orange-text.text-lighten-3{color:#ffcc80!important}.orange.lighten-2{background-color:#ffb74d!important}.orange-text.text-lighten-2{color:#ffb74d!important}.orange.lighten-1{background-color:#ffa726!important}.orange-text.text-lighten-1{color:#ffa726!important}.orange.darken-1{background-color:#fb8c00!important}.orange-text.text-darken-1{color:#fb8c00!important}.orange.darken-2{background-color:#f57c00!important}.orange-text.text-darken-2{color:#f57c00!important}.orange.darken-3{background-color:#ef6c00!important}.orange-text.text-darken-3{color:#ef6c00!important}.orange.darken-4{background-color:#e65100!important}.orange-text.text-darken-4{color:#e65100!important}.orange.accent-1{background-color:#ffd180!important}.orange-text.text-accent-1{color:#ffd180!important}.orange.accent-2{background-color:#ffab40!important}.orange-text.text-accent-2{color:#ffab40!important}.orange.accent-3{background-color:#ff9100!important}.orange-text.text-accent-3{color:#ff9100!important}.orange.accent-4{background-color:#ff6d00!important}.orange-text.text-accent-4{color:#ff6d00!important}.deep-orange{background-color:#ff5722!important}.deep-orange-text{color:#ff5722!important}.deep-orange.lighten-5{background-color:#fbe9e7!important}.deep-orange-text.text-lighten-5{color:#fbe9e7!important}.deep-orange.lighten-4{background-color:#ffccbc!important}.deep-orange-text.text-lighten-4{color:#ffccbc!important}.deep-orange.lighten-3{background-color:#ffab91!important}.deep-orange-text.text-lighten-3{color:#ffab91!important}.deep-orange.lighten-2{background-color:#ff8a65!important}.deep-orange-text.text-lighten-2{color:#ff8a65!important}.deep-orange.lighten-1{background-color:#ff7043!important}.deep-orange-text.text-lighten-1{color:#ff7043!important}.deep-orange.darken-1{background-color:#f4511e!important}.deep-orange-text.text-darken-1{color:#f4511e!important}.deep-orange.darken-2{background-color:#e64a19!important}.deep-orange-text.text-darken-2{color:#e64a19!important}.deep-orange.darken-3{background-color:#d84315!important}.deep-orange-text.text-darken-3{color:#d84315!important}.deep-orange.darken-4{background-color:#bf360c!important}.deep-orange-text.text-darken-4{color:#bf360c!important}.deep-orange.accent-1{background-color:#ff9e80!important}.deep-orange-text.text-accent-1{color:#ff9e80!important}.deep-orange.accent-2{background-color:#ff6e40!important}.deep-orange-text.text-accent-2{color:#ff6e40!important}.deep-orange.accent-3{background-color:#ff3d00!important}.deep-orange-text.text-accent-3{color:#ff3d00!important}.deep-orange.accent-4{background-color:#dd2c00!important}.deep-orange-text.text-accent-4{color:#dd2c00!important}.brown{background-color:#795548!important}.brown-text{color:#795548!important}.brown.lighten-5{background-color:#efebe9!important}.brown-text.text-lighten-5{color:#efebe9!important}.brown.lighten-4{background-color:#d7ccc8!important}.brown-text.text-lighten-4{color:#d7ccc8!important}.brown.lighten-3{background-color:#bcaaa4!important}.brown-text.text-lighten-3{color:#bcaaa4!important}.brown.lighten-2{background-color:#a1887f!important}.brown-text.text-lighten-2{color:#a1887f!important}.brown.lighten-1{background-color:#8d6e63!important}.brown-text.text-lighten-1{color:#8d6e63!important}.brown.darken-1{background-color:#6d4c41!important}.brown-text.text-darken-1{color:#6d4c41!important}.brown.darken-2{background-color:#5d4037!important}.brown-text.text-darken-2{color:#5d4037!important}.brown.darken-3{background-color:#4e342e!important}.brown-text.text-darken-3{color:#4e342e!important}.brown.darken-4{background-color:#3e2723!important}.brown-text.text-darken-4{color:#3e2723!important}.blue-grey{background-color:#607d8b!important}.blue-grey-text{color:#607d8b!important}.blue-grey.lighten-5{background-color:#eceff1!important}.blue-grey-text.text-lighten-5{color:#eceff1!important}.blue-grey.lighten-4{background-color:#cfd8dc!important}.blue-grey-text.text-lighten-4{color:#cfd8dc!important}.blue-grey.lighten-3{background-color:#b0bec5!important}.blue-grey-text.text-lighten-3{color:#b0bec5!important}.blue-grey.lighten-2{background-color:#90a4ae!important}.blue-grey-text.text-lighten-2{color:#90a4ae!important}.blue-grey.lighten-1{background-color:#78909c!important}.blue-grey-text.text-lighten-1{color:#78909c!important}.blue-grey.darken-1{background-color:#546e7a!important}.blue-grey-text.text-darken-1{color:#546e7a!important}.blue-grey.darken-2{background-color:#455a64!important}.blue-grey-text.text-darken-2{color:#455a64!important}.blue-grey.darken-3{background-color:#37474f!important}.blue-grey-text.text-darken-3{color:#37474f!important}.blue-grey.darken-4{background-color:#263238!important}.blue-grey-text.text-darken-4{color:#263238!important}.grey{background-color:#9e9e9e!important}.grey-text{color:#9e9e9e!important}.grey.lighten-5{background-color:#fafafa!important}.grey-text.text-lighten-5{color:#fafafa!important}.grey.lighten-4{background-color:#f5f5f5!important}.grey-text.text-lighten-4{color:#f5f5f5!important}.grey.lighten-3{background-color:#eee!important}.grey-text.text-lighten-3{color:#eee!important}.grey.lighten-2{background-color:#e0e0e0!important}.grey-text.text-lighten-2{color:#e0e0e0!important}.grey.lighten-1{background-color:#bdbdbd!important}.grey-text.text-lighten-1{color:#bdbdbd!important}.grey.darken-1{background-color:#757575!important}.grey-text.text-darken-1{color:#757575!important}.grey.darken-2{background-color:#616161!important}.grey-text.text-darken-2{color:#616161!important}.grey.darken-3{background-color:#424242!important}.grey-text.text-darken-3{color:#424242!important}.grey.darken-4{background-color:#212121!important}.grey-text.text-darken-4{color:#212121!important}.black{background-color:#000!important}.black-text{color:#000!important}.white{background-color:#fff!important}.white-text{color:#fff!important}.transparent{background-color:transparent!important}.transparent-text{color:transparent!important}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}ul:not(.browser-default){padding-left:0;list-style-type:none}ul:not(.browser-default) li{list-style-type:none}a{color:#039be5;-webkit-tap-highlight-color:transparent}.valign-wrapper{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.clearfix{clear:both}.z-depth-0{box-shadow:none!important}.btn,.btn-floating,.btn-large,.card,.card-panel,.collapsible,.dropdown-content,.side-nav,.toast,.z-depth-1,nav{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2)}.btn-floating:hover,.btn-large:hover,.btn:hover,.z-depth-1-half{box-shadow:0 3px 3px 0 rgba(0,0,0,.14),0 1px 7px 0 rgba(0,0,0,.12),0 3px 1px -1px rgba(0,0,0,.2)}.z-depth-2{box-shadow:0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.3)}.z-depth-3{box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.3)}.modal,.z-depth-4{box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.3)}.z-depth-5{box-shadow:0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.3)}.hoverable{transition:box-shadow .25s;box-shadow:0}.hoverable:hover{transition:box-shadow .25s;box-shadow:0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}.divider{height:1px;overflow:hidden;background-color:#e0e0e0}blockquote{margin:20px 0;padding-left:1.5rem;border-left:5px solid #ee6e73}i{line-height:inherit}i.left{float:left;margin-right:15px}i.right{float:right;margin-left:15px}i.tiny{font-size:1rem}i.small{font-size:2rem}i.medium{font-size:4rem}i.large{font-size:6rem}img.responsive-img,video.responsive-video{max-width:100%;height:auto}.pagination li{display:inline-block;border-radius:2px;text-align:center;vertical-align:top;height:30px}.pagination li a{color:#444;display:inline-block;font-size:1.2rem;padding:0 10px;line-height:30px}.pagination li.active a{color:#fff}.pagination li.active{background-color:#ee6e73}.pagination li.disabled a{cursor:default;color:#999}.pagination li i{font-size:2rem}.pagination li.pages ul li{display:inline-block;float:none}@media only screen and (max-width:992px){.pagination{width:100%}.pagination li.next,.pagination li.prev{width:10%}.pagination li.pages{width:80%;overflow:hidden;white-space:nowrap}}.breadcrumb{font-size:18px;color:hsla(0,0%,100%,.7)}.breadcrumb [class*=mdi-],.breadcrumb [class^=mdi-],.breadcrumb i,.breadcrumb i.material-icons{display:inline-block;float:left;font-size:24px}.breadcrumb:before{content:"\E5CC";color:hsla(0,0%,100%,.7);vertical-align:top;display:inline-block;font-family:Material Icons;font-weight:400;font-style:normal;font-size:25px;margin:0 10px 0 8px;-webkit-font-smoothing:antialiased}.breadcrumb:first-child:before{display:none}.breadcrumb:last-child{color:#fff}.parallax-container{position:relative;overflow:hidden;height:500px}.parallax{top:0;left:0;right:0;z-index:-1}.parallax,.parallax img{position:absolute;bottom:0}.parallax img{display:none;left:50%;min-width:100%;min-height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-transform:translateX(-50%);transform:translateX(-50%)}.pin-bottom,.pin-top{position:relative}.pinned{position:fixed!important}.fade-in,ul.staggered-list li{opacity:0}.fade-in{-webkit-transform-origin:0 50%;transform-origin:0 50%}@media only screen and (max-width:600px){.hide-on-small-and-down,.hide-on-small-only{display:none!important}}@media only screen and (max-width:992px){.hide-on-med-and-down{display:none!important}}@media only screen and (min-width:601px){.hide-on-med-and-up{display:none!important}}@media only screen and (min-width:600px) and (max-width:992px){.hide-on-med-only{display:none!important}}@media only screen and (min-width:993px){.hide-on-large-only{display:none!important}}@media only screen and (min-width:993px){.show-on-large{display:block!important}}@media only screen and (min-width:600px) and (max-width:992px){.show-on-medium{display:block!important}}@media only screen and (max-width:600px){.show-on-small{display:block!important}}@media only screen and (min-width:601px){.show-on-medium-and-up{display:block!important}}@media only screen and (max-width:992px){.show-on-medium-and-down{display:block!important}}@media only screen and (max-width:600px){.center-on-small-only{text-align:center}}.page-footer{padding-top:20px;background-color:#ee6e73}.page-footer .footer-copyright{overflow:hidden;min-height:50px;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:10px 0;color:hsla(0,0%,100%,.8);background-color:rgba(51,51,51,.08)}table,td,th{border:none}table{width:100%;display:table}table.bordered>tbody>tr,table.bordered>thead>tr{border-bottom:1px solid #d0d0d0}table.striped>tbody>tr:nth-child(odd){background-color:#f2f2f2}table.striped>tbody>tr>td{border-radius:0}table.highlight>tbody>tr{transition:background-color .25s ease}table.highlight>tbody>tr:hover{background-color:#f2f2f2}table.centered tbody tr td,table.centered thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}@media only screen and (max-width:992px){table.responsive-table{width:100%;border-collapse:collapse;border-spacing:0;display:block;position:relative}table.responsive-table td:empty:before{content:"\A0"}table.responsive-table td,table.responsive-table th{margin:0;vertical-align:top}table.responsive-table th{text-align:left}table.responsive-table thead{display:block;float:left}table.responsive-table thead tr{display:block;padding:0 10px 0 0}table.responsive-table thead tr th:before{content:"\A0"}table.responsive-table tbody{display:block;width:auto;position:relative;overflow-x:auto;white-space:nowrap}table.responsive-table tbody tr{display:inline-block;vertical-align:top}table.responsive-table th{display:block;text-align:right}table.responsive-table td{display:block;min-height:1.25em;text-align:left}table.responsive-table tr{padding:0 10px}table.responsive-table thead{border:0;border-right:1px solid #d0d0d0}table.responsive-table.bordered th{border-bottom:0;border-left:0}table.responsive-table.bordered td{border-left:0;border-right:0;border-bottom:0}table.responsive-table.bordered tr{border:0}table.responsive-table.bordered tbody tr{border-right:1px solid #d0d0d0}}.collection{margin:.5rem 0 1rem;border:1px solid #e0e0e0;border-radius:2px;overflow:hidden;position:relative}.collection .collection-item{background-color:#fff;line-height:1.5rem;padding:10px 20px;margin:0;border-bottom:1px solid #e0e0e0}.collection .collection-item.avatar{min-height:84px;padding-left:72px;position:relative}.collection .collection-item.avatar .circle{position:absolute;width:42px;height:42px;overflow:hidden;left:15px;display:inline-block;vertical-align:middle}.collection .collection-item.avatar i.circle{font-size:18px;line-height:42px;color:#fff;background-color:#999;text-align:center}.collection .collection-item.avatar .title{font-size:16px}.collection .collection-item.avatar p{margin:0}.collection .collection-item.avatar .secondary-content{position:absolute;top:16px;right:16px}.collection .collection-item:last-child{border-bottom:none}.collection .collection-item.active{background-color:#26a69a;color:#eafaf9}.collection .collection-item.active .secondary-content{color:#fff}.collection a.collection-item{display:block;transition:.25s;color:#26a69a}.collection a.collection-item:not(.active):hover{background-color:#ddd}.collection.with-header .collection-header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:10px 20px}.collection.with-header .collection-item{padding-left:30px}.collection.with-header .collection-item.avatar{padding-left:72px}.secondary-content{float:right;color:#26a69a}.collapsible .collection{margin:0;border:none}.video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.video-container embed,.video-container iframe,.video-container object{position:absolute;top:0;left:0;width:100%;height:100%}.progress{position:relative;height:4px;display:block;width:100%;background-color:#acece6;border-radius:2px;margin:.5rem 0 1rem;overflow:hidden}.progress .determinate{position:absolute;top:0;left:0;bottom:0;transition:width .3s linear}.progress .determinate,.progress .indeterminate{background-color:#26a69a}.progress .indeterminate:before{-webkit-animation:indeterminate 2.1s cubic-bezier(.65,.815,.735,.395) infinite;animation:indeterminate 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.progress .indeterminate:after,.progress .indeterminate:before{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right}.progress .indeterminate:after{-webkit-animation:indeterminate-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation:indeterminate-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}@-webkit-keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}.hide{display:none!important}.left-align{text-align:left}.right-align{text-align:right}.center,.center-align{text-align:center}.left{float:left!important}.right{float:right!important}.no-select,input[type=range],input[type=range]+.thumb{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.circle{border-radius:50%}.center-block{display:block;margin-left:auto;margin-right:auto}.truncate{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.no-padding{padding:0!important}span.badge{min-width:3rem;padding:0 6px;margin-left:14px;text-align:center;font-size:1rem;line-height:22px;height:22px;color:#757575;float:right;box-sizing:border-box}span.badge.new{font-weight:300;font-size:.8rem;color:#fff;background-color:#26a69a;border-radius:2px}span.badge.new:after{content:" new"}span.badge[data-badge-caption]:after{content:" " attr(data-badge-caption)}nav ul a span.badge{display:inline-block;float:none;margin-left:4px;line-height:22px;height:22px}.collection-item span.badge{margin-top:calc(.75rem - 11px)}.collapsible span.badge{margin-top:calc(1.5rem - 11px)}.side-nav span.badge{margin-top:13px}.material-icons{text-rendering:optimizeLegibility;-webkit-font-feature-settings:"liga";-moz-font-feature-settings:"liga";font-feature-settings:"liga"}.container{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){.container{width:85%}}@media only screen and (min-width:993px){.container{width:70%}}.container .row{margin-left:-.75rem;margin-right:-.75rem}.section{padding-top:1rem;padding-bottom:1rem}.section.no-pad{padding:0}.section.no-pad-bot{padding-bottom:0}.section.no-pad-top{padding-top:0}.row{margin-left:auto;margin-right:auto;margin-bottom:20px}.row:after{content:"";display:table;clear:both}.row .col{float:left;box-sizing:border-box;padding:0 .75rem;min-height:1px}.row .col[class*=pull-],.row .col[class*=push-]{position:relative}.row .col.s1{width:8.3333333333%}.row .col.s1,.row .col.s2{margin-left:auto;left:auto;right:auto}.row .col.s2{width:16.6666666667%}.row .col.s3{width:25%}.row .col.s3,.row .col.s4{margin-left:auto;left:auto;right:auto}.row .col.s4{width:33.3333333333%}.row .col.s5{width:41.6666666667%}.row .col.s5,.row .col.s6{margin-left:auto;left:auto;right:auto}.row .col.s6{width:50%}.row .col.s7{width:58.3333333333%}.row .col.s7,.row .col.s8{margin-left:auto;left:auto;right:auto}.row .col.s8{width:66.6666666667%}.row .col.s9{width:75%}.row .col.s9,.row .col.s10{margin-left:auto;left:auto;right:auto}.row .col.s10{width:83.3333333333%}.row .col.s11{width:91.6666666667%}.row .col.s11,.row .col.s12{margin-left:auto;left:auto;right:auto}.row .col.s12{width:100%}.row .col.offset-s1{margin-left:8.3333333333%}.row .col.pull-s1{right:8.3333333333%}.row .col.push-s1{left:8.3333333333%}.row .col.offset-s2{margin-left:16.6666666667%}.row .col.pull-s2{right:16.6666666667%}.row .col.push-s2{left:16.6666666667%}.row .col.offset-s3{margin-left:25%}.row .col.pull-s3{right:25%}.row .col.push-s3{left:25%}.row .col.offset-s4{margin-left:33.3333333333%}.row .col.pull-s4{right:33.3333333333%}.row .col.push-s4{left:33.3333333333%}.row .col.offset-s5{margin-left:41.6666666667%}.row .col.pull-s5{right:41.6666666667%}.row .col.push-s5{left:41.6666666667%}.row .col.offset-s6{margin-left:50%}.row .col.pull-s6{right:50%}.row .col.push-s6{left:50%}.row .col.offset-s7{margin-left:58.3333333333%}.row .col.pull-s7{right:58.3333333333%}.row .col.push-s7{left:58.3333333333%}.row .col.offset-s8{margin-left:66.6666666667%}.row .col.pull-s8{right:66.6666666667%}.row .col.push-s8{left:66.6666666667%}.row .col.offset-s9{margin-left:75%}.row .col.pull-s9{right:75%}.row .col.push-s9{left:75%}.row .col.offset-s10{margin-left:83.3333333333%}.row .col.pull-s10{right:83.3333333333%}.row .col.push-s10{left:83.3333333333%}.row .col.offset-s11{margin-left:91.6666666667%}.row .col.pull-s11{right:91.6666666667%}.row .col.push-s11{left:91.6666666667%}.row .col.offset-s12{margin-left:100%}.row .col.pull-s12{right:100%}.row .col.push-s12{left:100%}@media only screen and (min-width:601px){.row .col.m1{width:8.3333333333%}.row .col.m1,.row .col.m2{margin-left:auto;left:auto;right:auto}.row .col.m2{width:16.6666666667%}.row .col.m3{width:25%}.row .col.m3,.row .col.m4{margin-left:auto;left:auto;right:auto}.row .col.m4{width:33.3333333333%}.row .col.m5{width:41.6666666667%}.row .col.m5,.row .col.m6{margin-left:auto;left:auto;right:auto}.row .col.m6{width:50%}.row .col.m7{width:58.3333333333%}.row .col.m7,.row .col.m8{margin-left:auto;left:auto;right:auto}.row .col.m8{width:66.6666666667%}.row .col.m9{width:75%}.row .col.m9,.row .col.m10{margin-left:auto;left:auto;right:auto}.row .col.m10{width:83.3333333333%}.row .col.m11{width:91.6666666667%}.row .col.m11,.row .col.m12{margin-left:auto;left:auto;right:auto}.row .col.m12{width:100%}.row .col.offset-m1{margin-left:8.3333333333%}.row .col.pull-m1{right:8.3333333333%}.row .col.push-m1{left:8.3333333333%}.row .col.offset-m2{margin-left:16.6666666667%}.row .col.pull-m2{right:16.6666666667%}.row .col.push-m2{left:16.6666666667%}.row .col.offset-m3{margin-left:25%}.row .col.pull-m3{right:25%}.row .col.push-m3{left:25%}.row .col.offset-m4{margin-left:33.3333333333%}.row .col.pull-m4{right:33.3333333333%}.row .col.push-m4{left:33.3333333333%}.row .col.offset-m5{margin-left:41.6666666667%}.row .col.pull-m5{right:41.6666666667%}.row .col.push-m5{left:41.6666666667%}.row .col.offset-m6{margin-left:50%}.row .col.pull-m6{right:50%}.row .col.push-m6{left:50%}.row .col.offset-m7{margin-left:58.3333333333%}.row .col.pull-m7{right:58.3333333333%}.row .col.push-m7{left:58.3333333333%}.row .col.offset-m8{margin-left:66.6666666667%}.row .col.pull-m8{right:66.6666666667%}.row .col.push-m8{left:66.6666666667%}.row .col.offset-m9{margin-left:75%}.row .col.pull-m9{right:75%}.row .col.push-m9{left:75%}.row .col.offset-m10{margin-left:83.3333333333%}.row .col.pull-m10{right:83.3333333333%}.row .col.push-m10{left:83.3333333333%}.row .col.offset-m11{margin-left:91.6666666667%}.row .col.pull-m11{right:91.6666666667%}.row .col.push-m11{left:91.6666666667%}.row .col.offset-m12{margin-left:100%}.row .col.pull-m12{right:100%}.row .col.push-m12{left:100%}}@media only screen and (min-width:993px){.row .col.l1{width:8.3333333333%}.row .col.l1,.row .col.l2{margin-left:auto;left:auto;right:auto}.row .col.l2{width:16.6666666667%}.row .col.l3{width:25%}.row .col.l3,.row .col.l4{margin-left:auto;left:auto;right:auto}.row .col.l4{width:33.3333333333%}.row .col.l5{width:41.6666666667%}.row .col.l5,.row .col.l6{margin-left:auto;left:auto;right:auto}.row .col.l6{width:50%}.row .col.l7{width:58.3333333333%}.row .col.l7,.row .col.l8{margin-left:auto;left:auto;right:auto}.row .col.l8{width:66.6666666667%}.row .col.l9{width:75%}.row .col.l9,.row .col.l10{margin-left:auto;left:auto;right:auto}.row .col.l10{width:83.3333333333%}.row .col.l11{width:91.6666666667%}.row .col.l11,.row .col.l12{margin-left:auto;left:auto;right:auto}.row .col.l12{width:100%}.row .col.offset-l1{margin-left:8.3333333333%}.row .col.pull-l1{right:8.3333333333%}.row .col.push-l1{left:8.3333333333%}.row .col.offset-l2{margin-left:16.6666666667%}.row .col.pull-l2{right:16.6666666667%}.row .col.push-l2{left:16.6666666667%}.row .col.offset-l3{margin-left:25%}.row .col.pull-l3{right:25%}.row .col.push-l3{left:25%}.row .col.offset-l4{margin-left:33.3333333333%}.row .col.pull-l4{right:33.3333333333%}.row .col.push-l4{left:33.3333333333%}.row .col.offset-l5{margin-left:41.6666666667%}.row .col.pull-l5{right:41.6666666667%}.row .col.push-l5{left:41.6666666667%}.row .col.offset-l6{margin-left:50%}.row .col.pull-l6{right:50%}.row .col.push-l6{left:50%}.row .col.offset-l7{margin-left:58.3333333333%}.row .col.pull-l7{right:58.3333333333%}.row .col.push-l7{left:58.3333333333%}.row .col.offset-l8{margin-left:66.6666666667%}.row .col.pull-l8{right:66.6666666667%}.row .col.push-l8{left:66.6666666667%}.row .col.offset-l9{margin-left:75%}.row .col.pull-l9{right:75%}.row .col.push-l9{left:75%}.row .col.offset-l10{margin-left:83.3333333333%}.row .col.pull-l10{right:83.3333333333%}.row .col.push-l10{left:83.3333333333%}.row .col.offset-l11{margin-left:91.6666666667%}.row .col.pull-l11{right:91.6666666667%}.row .col.push-l11{left:91.6666666667%}.row .col.offset-l12{margin-left:100%}.row .col.pull-l12{right:100%}.row .col.push-l12{left:100%}}@media only screen and (min-width:1201px){.row .col.xl1{width:8.3333333333%}.row .col.xl1,.row .col.xl2{margin-left:auto;left:auto;right:auto}.row .col.xl2{width:16.6666666667%}.row .col.xl3{width:25%}.row .col.xl3,.row .col.xl4{margin-left:auto;left:auto;right:auto}.row .col.xl4{width:33.3333333333%}.row .col.xl5{width:41.6666666667%}.row .col.xl5,.row .col.xl6{margin-left:auto;left:auto;right:auto}.row .col.xl6{width:50%}.row .col.xl7{width:58.3333333333%}.row .col.xl7,.row .col.xl8{margin-left:auto;left:auto;right:auto}.row .col.xl8{width:66.6666666667%}.row .col.xl9{width:75%}.row .col.xl9,.row .col.xl10{margin-left:auto;left:auto;right:auto}.row .col.xl10{width:83.3333333333%}.row .col.xl11{width:91.6666666667%}.row .col.xl11,.row .col.xl12{margin-left:auto;left:auto;right:auto}.row .col.xl12{width:100%}.row .col.offset-xl1{margin-left:8.3333333333%}.row .col.pull-xl1{right:8.3333333333%}.row .col.push-xl1{left:8.3333333333%}.row .col.offset-xl2{margin-left:16.6666666667%}.row .col.pull-xl2{right:16.6666666667%}.row .col.push-xl2{left:16.6666666667%}.row .col.offset-xl3{margin-left:25%}.row .col.pull-xl3{right:25%}.row .col.push-xl3{left:25%}.row .col.offset-xl4{margin-left:33.3333333333%}.row .col.pull-xl4{right:33.3333333333%}.row .col.push-xl4{left:33.3333333333%}.row .col.offset-xl5{margin-left:41.6666666667%}.row .col.pull-xl5{right:41.6666666667%}.row .col.push-xl5{left:41.6666666667%}.row .col.offset-xl6{margin-left:50%}.row .col.pull-xl6{right:50%}.row .col.push-xl6{left:50%}.row .col.offset-xl7{margin-left:58.3333333333%}.row .col.pull-xl7{right:58.3333333333%}.row .col.push-xl7{left:58.3333333333%}.row .col.offset-xl8{margin-left:66.6666666667%}.row .col.pull-xl8{right:66.6666666667%}.row .col.push-xl8{left:66.6666666667%}.row .col.offset-xl9{margin-left:75%}.row .col.pull-xl9{right:75%}.row .col.push-xl9{left:75%}.row .col.offset-xl10{margin-left:83.3333333333%}.row .col.pull-xl10{right:83.3333333333%}.row .col.push-xl10{left:83.3333333333%}.row .col.offset-xl11{margin-left:91.6666666667%}.row .col.pull-xl11{right:91.6666666667%}.row .col.push-xl11{left:91.6666666667%}.row .col.offset-xl12{margin-left:100%}.row .col.pull-xl12{right:100%}.row .col.push-xl12{left:100%}}nav{color:#fff;background-color:#ee6e73;width:100%;height:56px;line-height:56px}nav.nav-extended{height:auto}nav.nav-extended .nav-wrapper{min-height:56px;height:auto}nav.nav-extended .nav-content{position:relative;line-height:normal}nav a{color:#fff}nav [class*=mdi-],nav [class^=mdi-],nav i,nav i.material-icons{display:block;font-size:24px;height:56px;line-height:56px}nav .nav-wrapper{position:relative;height:100%}@media only screen and (min-width:993px){nav a.button-collapse{display:none}}nav .button-collapse{float:left;position:relative;z-index:1;height:56px;margin:0 18px}nav .button-collapse i{height:56px;line-height:56px}nav .brand-logo{position:absolute;color:#fff;display:inline-block;font-size:2.1rem;padding:0;white-space:nowrap}nav .brand-logo.center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}@media only screen and (max-width:992px){nav .brand-logo{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}nav .brand-logo.left,nav .brand-logo.right{padding:0;-webkit-transform:none;transform:none}nav .brand-logo.left{left:.5rem}nav .brand-logo.right{right:.5rem;left:auto}}nav .brand-logo.right{right:.5rem;padding:0}nav .brand-logo [class*=mdi-],nav .brand-logo [class^=mdi-],nav .brand-logo i,nav .brand-logo i.material-icons{float:left;margin-right:15px}nav .nav-title{display:inline-block;font-size:32px;padding:28px 0}nav ul{margin:0}nav ul li{transition:background-color .3s;float:left;padding:0}nav ul li.active{background-color:rgba(0,0,0,.1)}nav ul a{transition:background-color .3s;font-size:1rem;color:#fff;display:block;padding:0 15px;cursor:pointer}nav ul a.btn,nav ul a.btn-flat,nav ul a.btn-floating,nav ul a.btn-large{margin-top:-2px;margin-left:15px;margin-right:15px}nav ul a.btn-flat>.material-icons,nav ul a.btn-floating>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn>.material-icons{height:inherit;line-height:inherit}nav ul a:hover{background-color:rgba(0,0,0,.1)}nav ul.left{float:left}nav form{height:100%}nav .input-field{margin:0;height:100%}nav .input-field input{height:100%;font-size:1.2rem;border:none;padding-left:2rem}nav .input-field input:focus,nav .input-field input[type=date]:valid,nav .input-field input[type=email]:valid,nav .input-field input[type=password]:valid,nav .input-field input[type=text]:valid,nav .input-field input[type=url]:valid{border:none;box-shadow:none}nav .input-field label{top:0;left:0}nav .input-field label i{color:hsla(0,0%,100%,.7);transition:color .3s}nav .input-field label.active i{color:#fff}.navbar-fixed{position:relative;height:56px;z-index:997}.navbar-fixed nav{position:fixed}@media only screen and (min-width:601px){nav.nav-extended .nav-wrapper{min-height:64px}nav,nav .nav-wrapper i,nav a.button-collapse,nav a.button-collapse i{height:64px;line-height:64px}.navbar-fixed{height:64px}}@font-face{font-family:Roboto;src:local(Roboto Thin),url(/bundles/wallabagcore/fonts/Roboto-Thin.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Thin.woff) format("woff");font-weight:100}@font-face{font-family:Roboto;src:local(Roboto Light),url(/bundles/wallabagcore/fonts/Roboto-Light.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Light.woff) format("woff");font-weight:300}@font-face{font-family:Roboto;src:local(Roboto Regular),url(/bundles/wallabagcore/fonts/Roboto-Regular.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Regular.woff) format("woff");font-weight:400}@font-face{font-family:Roboto;src:local(Roboto Medium),url(/bundles/wallabagcore/fonts/Roboto-Medium.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Medium.woff) format("woff");font-weight:500}@font-face{font-family:Roboto;src:local(Roboto Bold),url(/bundles/wallabagcore/fonts/Roboto-Bold.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Bold.woff) format("woff");font-weight:700}a{text-decoration:none}html{line-height:1.5;font-family:Roboto,sans-serif;font-weight:400;color:rgba(0,0,0,.87)}@media only screen and (min-width:0){html{font-size:14px}}@media only screen and (min-width:992px){html{font-size:14.5px}}@media only screen and (min-width:1200px){html{font-size:15px}}h1,h2,h3,h4,h5,h6{font-weight:400;line-height:1.1}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit}h1{font-size:4.2rem;margin:2.1rem 0 1.68rem}h1,h2{line-height:110%}h2{font-size:3.56rem;margin:1.78rem 0 1.424rem}h3{font-size:2.92rem;margin:1.46rem 0 1.168rem}h3,h4{line-height:110%}h4{font-size:2.28rem;margin:1.14rem 0 .912rem}h5{font-size:1.64rem;margin:.82rem 0 .656rem}h5,h6{line-height:110%}h6{font-size:1rem;margin:.5rem 0 .4rem}em{font-style:italic}strong{font-weight:500}small{font-size:75%}.light,.page-footer .footer-copyright{font-weight:300}.thin{font-weight:200}.flow-text{font-weight:300}@media only screen and (min-width:360px){.flow-text{font-size:1.2rem}}@media only screen and (min-width:390px){.flow-text{font-size:1.224rem}}@media only screen and (min-width:420px){.flow-text{font-size:1.248rem}}@media only screen and (min-width:450px){.flow-text{font-size:1.272rem}}@media only screen and (min-width:480px){.flow-text{font-size:1.296rem}}@media only screen and (min-width:510px){.flow-text{font-size:1.32rem}}@media only screen and (min-width:540px){.flow-text{font-size:1.344rem}}@media only screen and (min-width:570px){.flow-text{font-size:1.368rem}}@media only screen and (min-width:600px){.flow-text{font-size:1.392rem}}@media only screen and (min-width:630px){.flow-text{font-size:1.416rem}}@media only screen and (min-width:660px){.flow-text{font-size:1.44rem}}@media only screen and (min-width:690px){.flow-text{font-size:1.464rem}}@media only screen and (min-width:720px){.flow-text{font-size:1.488rem}}@media only screen and (min-width:750px){.flow-text{font-size:1.512rem}}@media only screen and (min-width:780px){.flow-text{font-size:1.536rem}}@media only screen and (min-width:810px){.flow-text{font-size:1.56rem}}@media only screen and (min-width:840px){.flow-text{font-size:1.584rem}}@media only screen and (min-width:870px){.flow-text{font-size:1.608rem}}@media only screen and (min-width:900px){.flow-text{font-size:1.632rem}}@media only screen and (min-width:930px){.flow-text{font-size:1.656rem}}@media only screen and (min-width:960px){.flow-text{font-size:1.68rem}}@media only screen and (max-width:360px){.flow-text{font-size:1.2rem}}.scale-transition{transition:-webkit-transform .3s cubic-bezier(.53,.01,.36,1.63)!important;transition:transform .3s cubic-bezier(.53,.01,.36,1.63)!important;transition:transform .3s cubic-bezier(.53,.01,.36,1.63),-webkit-transform .3s cubic-bezier(.53,.01,.36,1.63)!important}.scale-transition.scale-out{-webkit-transform:scale(0);transform:scale(0);transition:-webkit-transform .2s!important;transition:transform .2s!important;transition:transform .2s,-webkit-transform .2s!important}.scale-transition.scale-in{-webkit-transform:scale(1);transform:scale(1)}.card-panel{padding:24px}.card,.card-panel{transition:box-shadow .25s;margin:.5rem 0 1rem;border-radius:2px;background-color:#fff}.card{position:relative}.card .card-title{font-size:24px;font-weight:300}.card .card-title.activator{cursor:pointer}.card.large,.card.medium,.card.small{position:relative}.card.large .card-image,.card.medium .card-image,.card.small .card-image{max-height:60%;overflow:hidden}.card.large .card-image+.card-content,.card.medium .card-image+.card-content,.card.small .card-image+.card-content{max-height:40%}.card.large .card-content,.card.medium .card-content,.card.small .card-content{max-height:100%;overflow:hidden}.card.large .card-action,.card.medium .card-action,.card.small .card-action{position:absolute;bottom:0;left:0;right:0}.card.small{height:300px}.card.medium{height:400px}.card.large{height:500px}.card.horizontal{display:-webkit-flex;display:-ms-flexbox;display:flex}.card.horizontal.large .card-image,.card.horizontal.medium .card-image,.card.horizontal.small .card-image{height:100%;max-height:none;overflow:visible}.card.horizontal.large .card-image img,.card.horizontal.medium .card-image img,.card.horizontal.small .card-image img{height:100%}.card.horizontal .card-image{max-width:50%}.card.horizontal .card-image img{border-radius:2px 0 0 2px;max-width:100%;width:auto}.card.horizontal .card-stacked{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex:1;-ms-flex:1;flex:1;position:relative}.card.horizontal .card-stacked .card-content{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.card.sticky-action .card-action{z-index:2}.card.sticky-action .card-reveal{z-index:1;padding-bottom:64px}.card .card-image{position:relative}.card .card-image img{display:block;border-radius:2px 2px 0 0;position:relative;left:0;right:0;top:0;bottom:0;width:100%}.card .card-image .card-title{color:#fff;position:absolute;bottom:0;left:0;max-width:100%;padding:24px}.card .card-content{padding:24px;border-radius:0 0 2px 2px}.card .card-content p{margin:0;color:inherit}.card .card-content .card-title{display:block;line-height:32px;margin-bottom:8px}.card .card-content .card-title i{line-height:32px}.card .card-action{position:relative;background-color:inherit;border-top:1px solid hsla(0,0%,63%,.2);padding:16px 24px}.card .card-action:last-child{border-radius:0 0 2px 2px}.card .card-action a:not(.btn):not(.btn-large):not(.btn-large):not(.btn-floating){color:#ffab40;margin-right:24px;transition:color .3s ease;text-transform:uppercase}.card .card-action a:not(.btn):not(.btn-large):not(.btn-large):not(.btn-floating):hover{color:#ffd8a6}.card .card-reveal{padding:24px;position:absolute;background-color:#fff;width:100%;overflow-y:auto;left:0;top:100%;height:100%;z-index:3;display:none}.card .card-reveal .card-title{cursor:pointer;display:block}#toast-container{display:block;position:fixed;z-index:10000}@media only screen and (max-width:600px){#toast-container{min-width:100%;bottom:0}}@media only screen and (min-width:601px) and (max-width:992px){#toast-container{left:5%;bottom:7%;max-width:90%}}@media only screen and (min-width:993px){#toast-container{top:10%;right:7%;max-width:86%}}.toast{border-radius:2px;top:35px;width:auto;clear:both;margin-top:10px;position:relative;max-width:100%;height:auto;min-height:48px;line-height:1.5em;word-break:break-all;background-color:#323232;padding:10px 25px;font-size:1.1rem;font-weight:300;color:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.toast .btn,.toast .btn-flat,.toast .btn-large{margin:0;margin-left:3rem}.toast.rounded{border-radius:24px}@media only screen and (max-width:600px){.toast{width:100%;border-radius:0}}@media only screen and (min-width:601px) and (max-width:992px){.toast{float:left}}@media only screen and (min-width:993px){.toast{float:right}}.tabs{position:relative;overflow-x:auto;overflow-y:hidden;height:48px;width:100%;background-color:#fff;margin:0 auto;white-space:nowrap}.tabs.tabs-transparent{background-color:transparent}.tabs.tabs-transparent .tab.disabled a,.tabs.tabs-transparent .tab.disabled a:hover,.tabs.tabs-transparent .tab a{color:hsla(0,0%,100%,.7)}.tabs.tabs-transparent .tab a.active,.tabs.tabs-transparent .tab a:hover{color:#fff}.tabs.tabs-transparent .indicator{background-color:#fff}.tabs.tabs-fixed-width{display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs.tabs-fixed-width .tab{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab{display:inline-block;text-align:center;line-height:48px;height:48px;padding:0;margin:0;text-transform:uppercase}.tabs .tab a{color:rgba(238,110,115,.7);display:block;width:100%;height:100%;padding:0 24px;font-size:14px;text-overflow:ellipsis;overflow:hidden;transition:color .28s ease}.tabs .tab a.active,.tabs .tab a:hover{background-color:transparent;color:#ee6e73}.tabs .tab.disabled a,.tabs .tab.disabled a:hover{color:rgba(238,110,115,.7);cursor:default}.tabs .indicator{position:absolute;bottom:0;height:2px;background-color:#f6b2b5;will-change:left,right}@media only screen and (max-width:992px){.tabs{display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs .tab{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab a{padding:0 12px}}.material-tooltip{padding:10px 8px;font-size:1rem;z-index:2000;background-color:transparent;border-radius:2px;color:#fff;min-height:36px;line-height:120%;text-align:center;max-width:calc(100% - 4px);overflow:hidden;left:0;top:0;pointer-events:none}.backdrop,.material-tooltip{opacity:0;position:absolute;visibility:hidden}.backdrop{height:7px;width:14px;border-radius:0 0 50% 50%;background-color:#323232;z-index:-1;-webkit-transform-origin:50% 0;transform-origin:50% 0}.btn,.btn-flat,.btn-large{border:none;border-radius:2px;display:inline-block;height:36px;line-height:36px;padding:0 2rem;text-transform:uppercase;vertical-align:middle;-webkit-tap-highlight-color:transparent}.btn-flat.disabled,.btn-flat:disabled,.btn-flat[disabled],.btn-floating.disabled,.btn-floating:disabled,.btn-floating[disabled],.btn-large.disabled,.btn-large:disabled,.btn-large[disabled],.btn.disabled,.btn:disabled,.btn[disabled],.disabled.btn-large,[disabled].btn-large{pointer-events:none;background-color:#dfdfdf!important;box-shadow:none;color:#9f9f9f!important;cursor:default}.btn-flat.disabled:hover,.btn-flat:disabled:hover,.btn-flat[disabled]:hover,.btn-floating.disabled:hover,.btn-floating:disabled:hover,.btn-floating[disabled]:hover,.btn-large.disabled:hover,.btn-large:disabled:hover,.btn-large[disabled]:hover,.btn.disabled:hover,.btn:disabled:hover,.btn[disabled]:hover,.disabled.btn-large:hover,[disabled].btn-large:hover{background-color:#dfdfdf!important;color:#9f9f9f!important}.btn,.btn-flat,.btn-floating,.btn-large{font-size:1rem;outline:0}.btn-flat i,.btn-floating i,.btn-large i,.btn i{font-size:1.3rem;line-height:inherit}.btn-floating:focus,.btn-large:focus,.btn:focus{background-color:#1d7d74}.btn,.btn-large{text-decoration:none;color:#fff;background-color:#26a69a;text-align:center;letter-spacing:.5px;transition:.2s ease-out;cursor:pointer}.btn-large:hover,.btn:hover{background-color:#2bbbad}.btn-floating{display:inline-block;color:#fff;position:relative;overflow:hidden;z-index:1;width:40px;height:40px;line-height:40px;padding:0;border-radius:50%;transition:.3s;cursor:pointer;vertical-align:middle}.btn-floating,.btn-floating:hover{background-color:#26a69a}.btn-floating:before{border-radius:0}.btn-floating.btn-large{width:56px;height:56px}.btn-floating.btn-large.halfway-fab{bottom:-28px}.btn-floating.btn-large i{line-height:56px}.btn-floating.halfway-fab{position:absolute;right:24px;bottom:-20px}.btn-floating.halfway-fab.left{right:auto;left:24px}.btn-floating i{width:inherit;display:inline-block;text-align:center;color:#fff;font-size:1.6rem;line-height:40px}button.btn-floating{border:none}.fixed-action-btn{position:fixed;right:23px;bottom:23px;padding-top:15px;margin-bottom:0;z-index:998}.fixed-action-btn.active ul{visibility:visible}.fixed-action-btn.horizontal{padding:0 0 0 15px}.fixed-action-btn.horizontal ul{text-align:right;right:64px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:100%;left:auto;width:500px}.fixed-action-btn.horizontal ul li{display:inline-block;margin:15px 15px 0 0}.fixed-action-btn.toolbar{padding:0;height:56px}.fixed-action-btn.toolbar.active>a i{opacity:0}.fixed-action-btn.toolbar ul{display:-webkit-flex;display:-ms-flexbox;display:flex;top:0;bottom:0}.fixed-action-btn.toolbar ul li{-webkit-flex:1;-ms-flex:1;flex:1;display:inline-block;margin:0;height:100%;transition:none}.fixed-action-btn.toolbar ul li a{display:block;overflow:hidden;position:relative;width:100%;height:100%;background-color:transparent;box-shadow:none;color:#fff;line-height:56px;z-index:1}.fixed-action-btn.toolbar ul li a i{line-height:inherit}.fixed-action-btn ul{left:0;right:0;text-align:center;position:absolute;bottom:64px;margin:0;visibility:hidden}.fixed-action-btn ul li{margin-bottom:15px}.fixed-action-btn ul a.btn-floating{opacity:0}.fixed-action-btn .fab-backdrop{position:absolute;top:0;left:0;z-index:-1;width:40px;height:40px;background-color:#26a69a;border-radius:50%;-webkit-transform:scale(0);transform:scale(0)}.btn-flat{box-shadow:none;color:#343434;cursor:pointer;transition:background-color .2s}.btn-flat,.btn-flat:active,.btn-flat:focus{background-color:transparent}.btn-flat:focus,.btn-flat:hover{background-color:rgba(0,0,0,.1);box-shadow:none}.btn-flat:active{background-color:rgba(0,0,0,.2)}.btn-flat.disabled{background-color:transparent!important;color:#b3b3b3!important;cursor:default}.btn-large{height:54px;line-height:54px}.btn-large i{font-size:1.6rem}.btn-block{display:block}.dropdown-content{background-color:#fff;margin:0;display:none;min-width:100px;max-height:650px;overflow-y:auto;opacity:0;position:absolute;z-index:999;will-change:width,height}.dropdown-content li{clear:both;color:rgba(0,0,0,.87);cursor:pointer;min-height:50px;line-height:1.5rem;width:100%;text-align:left;text-transform:none}.dropdown-content li.active,.dropdown-content li.selected,.dropdown-content li:hover{background-color:#eee}.dropdown-content li.active.selected{background-color:#e1e1e1}.dropdown-content li.divider{min-height:0;height:1px}.dropdown-content li>a,.dropdown-content li>span{font-size:16px;color:#26a69a;display:block;line-height:22px;padding:14px 16px}.dropdown-content li>span>label{top:1px;left:0;height:18px}.dropdown-content li>a>i{height:inherit;line-height:inherit;float:left;margin:0 24px 0 0;width:24px}.input-field.col .dropdown-content [type=checkbox]+label{top:1px;left:0;height:18px}.waves-effect{position:relative;cursor:pointer;display:inline-block;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle;z-index:1;transition:.3s ease-out}.waves-effect .waves-ripple{position:absolute;border-radius:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;opacity:0;background:rgba(0,0,0,.2);transition:all .7s ease-out;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;-webkit-transform:scale(0);transform:scale(0);pointer-events:none}.waves-effect.waves-light .waves-ripple{background-color:hsla(0,0%,100%,.45)}.waves-effect.waves-red .waves-ripple{background-color:rgba(244,67,54,.7)}.waves-effect.waves-yellow .waves-ripple{background-color:rgba(255,235,59,.7)}.waves-effect.waves-orange .waves-ripple{background-color:rgba(255,152,0,.7)}.waves-effect.waves-purple .waves-ripple{background-color:rgba(156,39,176,.7)}.waves-effect.waves-green .waves-ripple{background-color:rgba(76,175,80,.7)}.waves-effect.waves-teal .waves-ripple{background-color:rgba(0,150,136,.7)}.waves-effect input[type=button],.waves-effect input[type=reset],.waves-effect input[type=submit]{border:0;font-style:normal;font-size:inherit;text-transform:inherit;background:none}.waves-effect img{position:relative;z-index:-1}.waves-notransition{transition:none!important}.waves-circle{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 0)}.waves-input-wrapper{border-radius:.2em;vertical-align:bottom}.waves-input-wrapper .waves-button-input{position:relative;top:0;left:0;z-index:1}.waves-circle{text-align:center;width:2.5em;height:2.5em;line-height:2.5em;border-radius:50%;-webkit-mask-image:none}.waves-block{display:block}.waves-effect .waves-ripple{z-index:-1}.modal{display:none;position:fixed;left:0;right:0;background-color:#fafafa;padding:0;max-height:70%;width:55%;margin:auto;overflow-y:auto;border-radius:2px;will-change:top,opacity}@media only screen and (max-width:992px){.modal{width:80%}}.modal h1,.modal h2,.modal h3,.modal h4{margin-top:0}.modal .modal-content{padding:24px}.modal .modal-close{cursor:pointer}.modal .modal-footer{border-radius:0 0 2px 2px;background-color:#fafafa;padding:4px 6px;height:56px;width:100%}.modal .modal-footer .btn,.modal .modal-footer .btn-flat,.modal .modal-footer .btn-large{float:right;margin:6px 0}.modal-overlay{position:fixed;z-index:999;top:-100px;left:0;bottom:0;right:0;height:125%;width:100%;background:#000;display:none;will-change:opacity}.modal.modal-fixed-footer{padding:0;height:70%}.modal.modal-fixed-footer .modal-content{position:absolute;height:calc(100% - 56px);max-height:100%;width:100%;overflow-y:auto}.modal.modal-fixed-footer .modal-footer{border-top:1px solid rgba(0,0,0,.1);position:absolute;bottom:0}.modal.bottom-sheet{top:auto;bottom:-100%;margin:0;width:100%;max-height:45%;border-radius:0;will-change:bottom,opacity}.collapsible{border-top:1px solid #ddd;border-right:1px solid #ddd;border-left:1px solid #ddd;margin:.5rem 0 1rem}.collapsible-header{display:block;cursor:pointer;min-height:3rem;line-height:3rem;padding:0 1rem;background-color:#fff;border-bottom:1px solid #ddd}.collapsible-header i{width:2rem;font-size:1.6rem;line-height:3rem;display:block;float:left;text-align:center;margin-right:1rem}.collapsible-body{display:none;border-bottom:1px solid #ddd;box-sizing:border-box;padding:2rem}.side-nav .collapsible,.side-nav.fixed .collapsible{border:none;box-shadow:none}.side-nav .collapsible li,.side-nav.fixed .collapsible li{padding:0}.side-nav .collapsible-header,.side-nav.fixed .collapsible-header{background-color:transparent;border:none;line-height:inherit;height:inherit;padding:0 16px}.side-nav .collapsible-header:hover,.side-nav.fixed .collapsible-header:hover{background-color:rgba(0,0,0,.05)}.side-nav .collapsible-header i,.side-nav.fixed .collapsible-header i{line-height:inherit}.side-nav .collapsible-body,.side-nav.fixed .collapsible-body{border:0;background-color:#fff}.side-nav .collapsible-body li a,.side-nav.fixed .collapsible-body li a{padding:0 23.5px 0 31px}.collapsible.popout{border:none;box-shadow:none}.collapsible.popout>li{box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);margin:0 24px;transition:margin .35s cubic-bezier(.25,.46,.45,.94)}.collapsible.popout>li.active{box-shadow:0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);margin:16px 0}.chip{display:inline-block;height:32px;font-size:13px;font-weight:500;color:rgba(0,0,0,.6);line-height:32px;padding:0 12px;border-radius:16px;background-color:#e4e4e4;margin-bottom:5px;margin-right:5px}.chip>img{float:left;margin:0 8px 0 -12px;height:32px;width:32px;border-radius:50%}.chip .close{cursor:pointer;float:right;font-size:16px;line-height:32px;padding-left:8px}.chips{border:none;border-bottom:1px solid #9e9e9e;box-shadow:none;margin:0 0 20px;min-height:45px;outline:none;transition:all .3s}.chips.focus{border-bottom:1px solid #26a69a;box-shadow:0 1px 0 0 #26a69a}.chips:hover{cursor:text}.chips .chip.selected{background-color:#26a69a;color:#fff}.chips .input{background:none;border:0;color:rgba(0,0,0,.6);display:inline-block;font-size:1rem;height:3rem;line-height:32px;outline:0;margin:0;padding:0!important;width:120px!important}.chips .input:focus{border:0!important;box-shadow:none!important}.chips .autocomplete-content{margin-top:0}.prefix~.chips{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.chips:empty~label{font-size:.8rem;-webkit-transform:translateY(-140%);transform:translateY(-140%)}.materialboxed{display:block;cursor:-webkit-zoom-in;cursor:zoom-in;position:relative;transition:opacity .4s;-webkit-backface-visibility:hidden}.materialboxed:hover:not(.active){opacity:.8}.materialboxed.active{cursor:-webkit-zoom-out;cursor:zoom-out}#materialbox-overlay{top:0;right:0;background-color:#292929;will-change:opacity}#materialbox-overlay,.materialbox-caption{position:fixed;bottom:0;left:0;z-index:1000}.materialbox-caption{display:none;color:#fff;line-height:50px;width:100%;text-align:center;padding:0 15%;height:50px;-webkit-font-smoothing:antialiased}select:focus{outline:1px solid #c9f3ef}button:focus{outline:none;background-color:#2ab7a9}label{font-size:.8rem;color:#9e9e9e}::-webkit-input-placeholder{color:#d1d1d1}:-moz-placeholder,::-moz-placeholder{color:#d1d1d1}:-ms-input-placeholder{color:#d1d1d1}input:not([type]),input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],textarea.materialize-textarea{background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;height:3rem;width:100%;font-size:1rem;margin:0 0 20px;padding:0;box-shadow:none;box-sizing:content-box;transition:all .3s}input:not([type]):disabled,input:not([type])[readonly=readonly],input[type=date]:disabled,input[type=date][readonly=readonly],input[type=datetime-local]:disabled,input[type=datetime-local][readonly=readonly],input[type=datetime]:disabled,input[type=datetime][readonly=readonly],input[type=email]:disabled,input[type=email][readonly=readonly],input[type=number]:disabled,input[type=number][readonly=readonly],input[type=password]:disabled,input[type=password][readonly=readonly],input[type=search]:disabled,input[type=search][readonly=readonly],input[type=tel]:disabled,input[type=tel][readonly=readonly],input[type=text]:disabled,input[type=text][readonly=readonly],input[type=time]:disabled,input[type=time][readonly=readonly],input[type=url]:disabled,input[type=url][readonly=readonly],textarea.materialize-textarea:disabled,textarea.materialize-textarea[readonly=readonly]{color:rgba(0,0,0,.26);border-bottom:1px dotted rgba(0,0,0,.26)}input:not([type]):disabled+label,input:not([type])[readonly=readonly]+label,input[type=date]:disabled+label,input[type=date][readonly=readonly]+label,input[type=datetime-local]:disabled+label,input[type=datetime-local][readonly=readonly]+label,input[type=datetime]:disabled+label,input[type=datetime][readonly=readonly]+label,input[type=email]:disabled+label,input[type=email][readonly=readonly]+label,input[type=number]:disabled+label,input[type=number][readonly=readonly]+label,input[type=password]:disabled+label,input[type=password][readonly=readonly]+label,input[type=search]:disabled+label,input[type=search][readonly=readonly]+label,input[type=tel]:disabled+label,input[type=tel][readonly=readonly]+label,input[type=text]:disabled+label,input[type=text][readonly=readonly]+label,input[type=time]:disabled+label,input[type=time][readonly=readonly]+label,input[type=url]:disabled+label,input[type=url][readonly=readonly]+label,textarea.materialize-textarea:disabled+label,textarea.materialize-textarea[readonly=readonly]+label{color:rgba(0,0,0,.26)}input:not([type]):focus:not([readonly]),input[type=date]:focus:not([readonly]),input[type=datetime-local]:focus:not([readonly]),input[type=datetime]:focus:not([readonly]),input[type=email]:focus:not([readonly]),input[type=number]:focus:not([readonly]),input[type=password]:focus:not([readonly]),input[type=search]:focus:not([readonly]),input[type=tel]:focus:not([readonly]),input[type=text]:focus:not([readonly]),input[type=time]:focus:not([readonly]),input[type=url]:focus:not([readonly]),textarea.materialize-textarea:focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px 0 0 #26a69a}input:not([type]):focus:not([readonly])+label,input[type=date]:focus:not([readonly])+label,input[type=datetime-local]:focus:not([readonly])+label,input[type=datetime]:focus:not([readonly])+label,input[type=email]:focus:not([readonly])+label,input[type=number]:focus:not([readonly])+label,input[type=password]:focus:not([readonly])+label,input[type=search]:focus:not([readonly])+label,input[type=tel]:focus:not([readonly])+label,input[type=text]:focus:not([readonly])+label,input[type=time]:focus:not([readonly])+label,input[type=url]:focus:not([readonly])+label,textarea.materialize-textarea:focus:not([readonly])+label{color:#26a69a}input:not([type]).valid,input:not([type]):focus.valid,input[type=date].valid,input[type=date]:focus.valid,input[type=datetime-local].valid,input[type=datetime-local]:focus.valid,input[type=datetime].valid,input[type=datetime]:focus.valid,input[type=email].valid,input[type=email]:focus.valid,input[type=number].valid,input[type=number]:focus.valid,input[type=password].valid,input[type=password]:focus.valid,input[type=search].valid,input[type=search]:focus.valid,input[type=tel].valid,input[type=tel]:focus.valid,input[type=text].valid,input[type=text]:focus.valid,input[type=time].valid,input[type=time]:focus.valid,input[type=url].valid,input[type=url]:focus.valid,textarea.materialize-textarea.valid,textarea.materialize-textarea:focus.valid{border-bottom:1px solid #4caf50;box-shadow:0 1px 0 0 #4caf50}input:not([type]).valid+label:after,input:not([type]):focus.valid+label:after,input[type=date].valid+label:after,input[type=date]:focus.valid+label:after,input[type=datetime-local].valid+label:after,input[type=datetime-local]:focus.valid+label:after,input[type=datetime].valid+label:after,input[type=datetime]:focus.valid+label:after,input[type=email].valid+label:after,input[type=email]:focus.valid+label:after,input[type=number].valid+label:after,input[type=number]:focus.valid+label:after,input[type=password].valid+label:after,input[type=password]:focus.valid+label:after,input[type=search].valid+label:after,input[type=search]:focus.valid+label:after,input[type=tel].valid+label:after,input[type=tel]:focus.valid+label:after,input[type=text].valid+label:after,input[type=text]:focus.valid+label:after,input[type=time].valid+label:after,input[type=time]:focus.valid+label:after,input[type=url].valid+label:after,input[type=url]:focus.valid+label:after,textarea.materialize-textarea.valid+label:after,textarea.materialize-textarea:focus.valid+label:after{content:attr(data-success);color:#4caf50;opacity:1}input:not([type]).invalid,input:not([type]):focus.invalid,input[type=date].invalid,input[type=date]:focus.invalid,input[type=datetime-local].invalid,input[type=datetime-local]:focus.invalid,input[type=datetime].invalid,input[type=datetime]:focus.invalid,input[type=email].invalid,input[type=email]:focus.invalid,input[type=number].invalid,input[type=number]:focus.invalid,input[type=password].invalid,input[type=password]:focus.invalid,input[type=search].invalid,input[type=search]:focus.invalid,input[type=tel].invalid,input[type=tel]:focus.invalid,input[type=text].invalid,input[type=text]:focus.invalid,input[type=time].invalid,input[type=time]:focus.invalid,input[type=url].invalid,input[type=url]:focus.invalid,textarea.materialize-textarea.invalid,textarea.materialize-textarea:focus.invalid{border-bottom:1px solid #f44336;box-shadow:0 1px 0 0 #f44336}input:not([type]).invalid+label:after,input:not([type]):focus.invalid+label:after,input[type=date].invalid+label:after,input[type=date]:focus.invalid+label:after,input[type=datetime-local].invalid+label:after,input[type=datetime-local]:focus.invalid+label:after,input[type=datetime].invalid+label:after,input[type=datetime]:focus.invalid+label:after,input[type=email].invalid+label:after,input[type=email]:focus.invalid+label:after,input[type=number].invalid+label:after,input[type=number]:focus.invalid+label:after,input[type=password].invalid+label:after,input[type=password]:focus.invalid+label:after,input[type=search].invalid+label:after,input[type=search]:focus.invalid+label:after,input[type=tel].invalid+label:after,input[type=tel]:focus.invalid+label:after,input[type=text].invalid+label:after,input[type=text]:focus.invalid+label:after,input[type=time].invalid+label:after,input[type=time]:focus.invalid+label:after,input[type=url].invalid+label:after,input[type=url]:focus.invalid+label:after,textarea.materialize-textarea.invalid+label:after,textarea.materialize-textarea:focus.invalid+label:after{content:attr(data-error);color:#f44336;opacity:1}input:not([type]).validate+label,input[type=date].validate+label,input[type=datetime-local].validate+label,input[type=datetime].validate+label,input[type=email].validate+label,input[type=number].validate+label,input[type=password].validate+label,input[type=search].validate+label,input[type=tel].validate+label,input[type=text].validate+label,input[type=time].validate+label,input[type=url].validate+label,textarea.materialize-textarea.validate+label{width:100%;pointer-events:none}input:not([type])+label:after,input[type=date]+label:after,input[type=datetime-local]+label:after,input[type=datetime]+label:after,input[type=email]+label:after,input[type=number]+label:after,input[type=password]+label:after,input[type=search]+label:after,input[type=tel]+label:after,input[type=text]+label:after,input[type=time]+label:after,input[type=url]+label:after,textarea.materialize-textarea+label:after{display:block;content:"";position:absolute;top:60px;opacity:0;transition:opacity .2s ease-out,color .2s ease-out}.input-field{position:relative;margin-top:1rem}.input-field.inline{display:inline-block;vertical-align:middle;margin-left:5px}.input-field.inline .select-dropdown,.input-field.inline input{margin-bottom:1rem}.input-field.col label{left:.75rem}.input-field.col .prefix~.validate~label,.input-field.col .prefix~label{width:calc(100% - 3rem - 1.5rem)}.input-field label{color:#9e9e9e;position:absolute;top:.8rem;left:0;font-size:1rem;cursor:text;transition:.2s ease-out;text-align:initial}.input-field label:not(.label-icon).active{font-size:.8rem;-webkit-transform:translateY(-140%);transform:translateY(-140%)}.input-field .prefix{position:absolute;width:3rem;font-size:2rem;transition:color .2s}.input-field .prefix.active{color:#26a69a}.input-field .prefix~.autocomplete-content,.input-field .prefix~.validate~label,.input-field .prefix~input,.input-field .prefix~label,.input-field .prefix~textarea{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.input-field .prefix~label{margin-left:3rem}@media only screen and (max-width:992px){.input-field .prefix~input{width:86%;width:calc(100% - 3rem)}}@media only screen and (max-width:600px){.input-field .prefix~input{width:80%;width:calc(100% - 3rem)}}.input-field input[type=search]{display:block;line-height:inherit;padding-left:4rem;width:calc(100% - 4rem)}.input-field input[type=search]:focus{background-color:#fff;border:0;box-shadow:none;color:#444}.input-field input[type=search]:focus+label i,.input-field input[type=search]:focus~.material-icons,.input-field input[type=search]:focus~.mdi-navigation-close{color:#444}.input-field input[type=search]+label{left:1rem}.input-field input[type=search]~.material-icons,.input-field input[type=search]~.mdi-navigation-close{position:absolute;top:0;right:1rem;color:transparent;cursor:pointer;font-size:2rem;transition:color .3s}textarea{width:100%;height:3rem;background-color:transparent}textarea.materialize-textarea{overflow-y:hidden;padding:.8rem 0 1.6rem;resize:none;min-height:3rem}.hiddendiv{display:none;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;padding-top:1.2rem;position:absolute;top:0}.autocomplete-content{margin-top:-20px;display:block;opacity:1;position:static}.autocomplete-content li .highlight{color:#444}.autocomplete-content li img{height:40px;width:40px;margin:5px 15px}[type=radio]:checked,[type=radio]:not(:checked){position:absolute;left:-9999px;opacity:0}[type=radio]:checked+label,[type=radio]:not(:checked)+label{position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;transition:.28s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[type=radio]+label:after,[type=radio]+label:before{content:"";position:absolute;left:0;top:0;margin:4px;width:16px;height:16px;z-index:0;transition:.28s ease}[type=radio].with-gap:checked+label:after,[type=radio].with-gap:checked+label:before,[type=radio]:checked+label:after,[type=radio]:checked+label:before,[type=radio]:not(:checked)+label:after,[type=radio]:not(:checked)+label:before{border-radius:50%}[type=radio]:not(:checked)+label:after,[type=radio]:not(:checked)+label:before{border:2px solid #5a5a5a}[type=radio]:not(:checked)+label:after{-webkit-transform:scale(0);transform:scale(0)}[type=radio]:checked+label:before{border:2px solid transparent}[type=radio].with-gap:checked+label:after,[type=radio].with-gap:checked+label:before,[type=radio]:checked+label:after{border:2px solid #26a69a}[type=radio].with-gap:checked+label:after,[type=radio]:checked+label:after{background-color:#26a69a}[type=radio]:checked+label:after{-webkit-transform:scale(1.02);transform:scale(1.02)}[type=radio].with-gap:checked+label:after{-webkit-transform:scale(.5);transform:scale(.5)}[type=radio].tabbed:focus+label:before{box-shadow:0 0 0 10px rgba(0,0,0,.1)}[type=radio].with-gap:disabled:checked+label:before{border:2px solid rgba(0,0,0,.26)}[type=radio].with-gap:disabled:checked+label:after{border:none;background-color:rgba(0,0,0,.26)}[type=radio]:disabled:checked+label:before,[type=radio]:disabled:not(:checked)+label:before{background-color:transparent;border-color:rgba(0,0,0,.26)}[type=radio]:disabled+label{color:rgba(0,0,0,.26)}[type=radio]:disabled:not(:checked)+label:before{border-color:rgba(0,0,0,.26)}[type=radio]:disabled:checked+label:after{background-color:rgba(0,0,0,.26);border-color:#bdbdbd}form p{margin-bottom:10px;text-align:left}form p:last-child{margin-bottom:0}[type=checkbox]:checked,[type=checkbox]:not(:checked){position:absolute;left:-9999px;opacity:0}[type=checkbox]+label{position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}[type=checkbox]+label:before,[type=checkbox]:not(.filled-in)+label:after{content:"";position:absolute;top:0;left:0;width:18px;height:18px;z-index:0;border:2px solid #5a5a5a;border-radius:1px;margin-top:2px;transition:.2s}[type=checkbox]:not(.filled-in)+label:after{border:0;-webkit-transform:scale(0);transform:scale(0)}[type=checkbox]:not(:checked):disabled+label:before{border:none;background-color:rgba(0,0,0,.26)}[type=checkbox].tabbed:focus+label:after{-webkit-transform:scale(1);transform:scale(1);border:0;border-radius:50%;box-shadow:0 0 0 10px rgba(0,0,0,.1);background-color:rgba(0,0,0,.1)}[type=checkbox]:checked+label:before{top:-4px;left:-5px;width:12px;height:22px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #26a69a;border-bottom:2px solid #26a69a;-webkit-transform:rotate(40deg);transform:rotate(40deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=checkbox]:checked:disabled+label:before{border-right:2px solid rgba(0,0,0,.26);border-bottom:2px solid rgba(0,0,0,.26)}[type=checkbox]:indeterminate+label:before{top:-11px;left:-12px;width:10px;height:22px;border-top:none;border-left:none;border-right:2px solid #26a69a;border-bottom:none;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=checkbox]:indeterminate:disabled+label:before{border-right:2px solid rgba(0,0,0,.26);background-color:transparent}[type=checkbox].filled-in+label:after{border-radius:2px}[type=checkbox].filled-in+label:after,[type=checkbox].filled-in+label:before{content:"";left:0;position:absolute;transition:border .25s,background-color .25s,width .2s .1s,height .2s .1s,top .2s .1s,left .2s .1s;z-index:1}[type=checkbox].filled-in:not(:checked)+label:before{width:0;height:0;border:3px solid transparent;left:6px;top:10px;-webkit-transform:rotate(37deg);transform:rotate(37deg);-webkit-transform-origin:20% 40%;transform-origin:100% 100%}[type=checkbox].filled-in:not(:checked)+label:after{height:20px;width:20px;background-color:transparent;border:2px solid #5a5a5a;top:0;z-index:0}[type=checkbox].filled-in:checked+label:before{top:0;left:1px;width:8px;height:13px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #fff;border-bottom:2px solid #fff;-webkit-transform:rotate(37deg);transform:rotate(37deg);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=checkbox].filled-in:checked+label:after{top:0;width:20px;height:20px;border:2px solid #26a69a;background-color:#26a69a;z-index:0}[type=checkbox].filled-in.tabbed:focus+label:after{border-radius:2px;border-color:#5a5a5a;background-color:rgba(0,0,0,.1)}[type=checkbox].filled-in.tabbed:checked:focus+label:after{border-radius:2px;background-color:#26a69a;border-color:#26a69a}[type=checkbox].filled-in:disabled:not(:checked)+label:before{background-color:transparent;border:2px solid transparent}[type=checkbox].filled-in:disabled:not(:checked)+label:after{border-color:transparent;background-color:#bdbdbd}[type=checkbox].filled-in:disabled:checked+label:before{background-color:transparent}[type=checkbox].filled-in:disabled:checked+label:after{background-color:#bdbdbd;border-color:#bdbdbd}.switch,.switch *{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}.switch label{cursor:pointer}.switch label input[type=checkbox]{opacity:0;width:0;height:0}.switch label input[type=checkbox]:checked+.lever{background-color:#84c7c1}.switch label input[type=checkbox]:checked+.lever:after{background-color:#26a69a;left:24px}.switch label .lever{content:"";display:inline-block;position:relative;width:40px;height:15px;background-color:#818181;border-radius:15px;margin-right:10px;transition:background .3s ease;vertical-align:middle;margin:0 16px}.switch label .lever:after{content:"";position:absolute;display:inline-block;width:21px;height:21px;background-color:#f1f1f1;border-radius:21px;box-shadow:0 1px 3px 1px rgba(0,0,0,.4);left:-5px;top:-3px;transition:left .3s ease,background .3s ease,box-shadow .1s ease}input[type=checkbox]:checked:not(:disabled).tabbed:focus~.lever:after,input[type=checkbox]:checked:not(:disabled)~.lever:active:after{box-shadow:0 1px 3px 1px rgba(0,0,0,.4),0 0 0 15px rgba(38,166,154,.1)}input[type=checkbox]:not(:disabled).tabbed:focus~.lever:after,input[type=checkbox]:not(:disabled)~.lever:active:after{box-shadow:0 1px 3px 1px rgba(0,0,0,.4),0 0 0 15px rgba(0,0,0,.08)}.switch input[type=checkbox][disabled]+.lever{cursor:default}.switch label input[type=checkbox][disabled]+.lever:after,.switch label input[type=checkbox][disabled]:checked+.lever:after{background-color:#bdbdbd}select{display:none}select.browser-default{display:block}select{background-color:hsla(0,0%,100%,.9);width:100%;padding:5px;border:1px solid #f2f2f2;border-radius:2px;height:3rem}.select-label{position:absolute}.select-wrapper{position:relative}.select-wrapper input.select-dropdown{position:relative;cursor:pointer;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;outline:none;height:3rem;line-height:3rem;width:100%;font-size:1rem;margin:0 0 20px;padding:0;display:block}.select-wrapper span.caret{color:initial;position:absolute;right:0;top:0;bottom:0;height:10px;margin:auto 0;font-size:10px;line-height:10px}.select-wrapper span.caret.disabled{color:rgba(0,0,0,.26)}.select-wrapper+label{position:absolute;top:-14px;font-size:.8rem}select:disabled{color:rgba(0,0,0,.3)}.select-wrapper input.select-dropdown:disabled{color:rgba(0,0,0,.3);cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;border-bottom:1px solid rgba(0,0,0,.3)}.select-wrapper i{color:rgba(0,0,0,.3)}.select-dropdown li.disabled,.select-dropdown li.disabled>span,.select-dropdown li.optgroup{color:rgba(0,0,0,.3);background-color:transparent}.prefix~.select-wrapper{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.prefix~label{margin-left:3rem}.select-dropdown li img{height:40px;width:40px;margin:5px 15px;float:right}.select-dropdown li.optgroup{border-top:1px solid #eee}.select-dropdown li.optgroup.selected>span{color:rgba(0,0,0,.7)}.select-dropdown li.optgroup>span{color:rgba(0,0,0,.4)}.select-dropdown li.optgroup~li.optgroup-option{padding-left:1rem}.file-field{position:relative}.file-field .file-path-wrapper{overflow:hidden;padding-left:10px}.file-field input.file-path{width:100%}.file-field .btn,.file-field .btn-large{float:left;height:3rem;line-height:3rem}.file-field span{cursor:pointer}.file-field input[type=file]{position:absolute;top:0;right:0;left:0;bottom:0;width:100%;margin:0;padding:0;font-size:20px;cursor:pointer;opacity:0;filter:alpha(opacity=0)}.range-field{position:relative}input[type=range],input[type=range]+.thumb{cursor:pointer}input[type=range]{position:relative;background-color:transparent;border:none;outline:none;width:100%;margin:15px 0;padding:0}input[type=range]:focus{outline:none}input[type=range]+.thumb{position:absolute;top:10px;left:0;border:none;height:0;width:0;border-radius:50%;background-color:#26a69a;margin-left:7px;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}input[type=range]+.thumb .value{display:block;width:30px;text-align:center;color:#26a69a;font-size:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}input[type=range]+.thumb.active{border-radius:50% 50% 50% 0}input[type=range]+.thumb.active .value{color:#fff;margin-left:-1px;margin-top:8px;font-size:10px}input[type=range]{-webkit-appearance:none}input[type=range]::-webkit-slider-runnable-track{height:3px;background:#c2c0c2;border:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;border:none;height:14px;width:14px;border-radius:50%;background-color:#26a69a;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;margin:-5px 0 0;transition:.3s}input[type=range]:focus::-webkit-slider-runnable-track{background:#ccc}input[type=range]{border:1px solid #fff}input[type=range]::-moz-range-track{height:3px;background:#ddd;border:none}input[type=range]::-moz-range-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;margin-top:-5px}input[type=range]:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}input[type=range]:focus::-moz-range-track{background:#ccc}input[type=range]::-ms-track{height:3px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input[type=range]::-ms-fill-lower{background:#777}input[type=range]::-ms-fill-upper{background:#ddd}input[type=range]::-ms-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a}input[type=range]:focus::-ms-fill-lower{background:#888}input[type=range]:focus::-ms-fill-upper{background:#ccc}.table-of-contents.fixed{position:fixed}.table-of-contents li{padding:2px 0}.table-of-contents a{font-weight:300;color:#757575;padding-left:20px;height:1.5rem;line-height:1.5rem;letter-spacing:.4;display:inline-block}.table-of-contents a:hover{color:#a8a8a8;padding-left:19px;border-left:1px solid #ee6e73}.table-of-contents a.active{font-weight:500;padding-left:18px;border-left:2px solid #ee6e73}.side-nav{position:fixed;width:300px;left:0;top:0;margin:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);height:calc(100% + 60px);height:100%;padding-bottom:60px;background-color:#fff;z-index:999;overflow-y:auto;will-change:transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateX(-105%);transform:translateX(-105%)}.side-nav.right-aligned{right:0;-webkit-transform:translateX(105%);transform:translateX(105%);left:auto;-webkit-transform:translateX(100%);transform:translateX(100%)}.side-nav .collapsible{margin:0}.side-nav li{float:none;line-height:48px}.side-nav li.active{background-color:rgba(0,0,0,.05)}.side-nav li>a{color:rgba(0,0,0,.87);display:block;font-size:14px;font-weight:500;height:48px;line-height:48px;padding:0 32px}.side-nav li>a:hover{background-color:rgba(0,0,0,.05)}.side-nav li>a.btn,.side-nav li>a.btn-flat,.side-nav li>a.btn-floating,.side-nav li>a.btn-large{margin:10px 15px}.side-nav li>a.btn,.side-nav li>a.btn-floating,.side-nav li>a.btn-large{color:#fff}.side-nav li>a.btn-flat{color:#343434}.side-nav li>a.btn-large:hover,.side-nav li>a.btn:hover{background-color:#2bbbad}.side-nav li>a.btn-floating:hover{background-color:#26a69a}.side-nav li>a>[class^=mdi-],.side-nav li>a>i,.side-nav li>a>i.material-icons,.side-nav li>a li>a>[class*=mdi-]{float:left;height:48px;line-height:48px;margin:0 32px 0 0;width:24px;color:rgba(0,0,0,.54)}.side-nav .divider{margin:8px 0 0}.side-nav .subheader{cursor:auto;pointer-events:none;color:rgba(0,0,0,.54);font-size:14px;font-weight:500;line-height:48px}.side-nav .subheader:hover{background-color:transparent}.side-nav .userView{position:relative;padding:32px 32px 0;margin-bottom:8px}.side-nav .userView>a{height:auto;padding:0}.side-nav .userView>a:hover{background-color:transparent}.side-nav .userView .background{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.side-nav .userView .circle,.side-nav .userView .email,.side-nav .userView .name{display:block}.side-nav .userView .circle{height:64px;width:64px}.side-nav .userView .email,.side-nav .userView .name{font-size:14px;line-height:24px}.side-nav .userView .name{margin-top:16px;font-weight:500}.side-nav .userView .email{padding-bottom:16px;font-weight:400}.drag-target{height:100%;width:10px;position:fixed;top:0;z-index:998}.side-nav.fixed{left:0;-webkit-transform:translateX(0);transform:translateX(0);position:fixed}.side-nav.fixed.right-aligned{right:0;left:auto}@media only screen and (max-width:992px){.side-nav.fixed{-webkit-transform:translateX(-105%);transform:translateX(-105%)}.side-nav.fixed.right-aligned{-webkit-transform:translateX(105%);transform:translateX(105%)}.side-nav a{padding:0 16px}.side-nav .userView{padding:16px 16px 0}}.side-nav .collapsible-body>ul:not(.collapsible)>li.active,.side-nav.fixed .collapsible-body>ul:not(.collapsible)>li.active{background-color:#ee6e73}.side-nav .collapsible-body>ul:not(.collapsible)>li.active a,.side-nav.fixed .collapsible-body>ul:not(.collapsible)>li.active a{color:#fff}.side-nav .collapsible-body{padding:0}#sidenav-overlay{position:fixed;top:0;left:0;right:0;height:120vh;background-color:rgba(0,0,0,.5);z-index:997;will-change:opacity}.preloader-wrapper{display:inline-block;position:relative;width:50px;height:50px}.preloader-wrapper.small{width:36px;height:36px}.preloader-wrapper.big{width:64px;height:64px}.preloader-wrapper.active{-webkit-animation:container-rotate 1568ms linear infinite;animation:container-rotate 1568ms linear infinite}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(1turn)}}@keyframes container-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.spinner-layer{position:absolute;width:100%;height:100%;opacity:0;border-color:#26a69a}.spinner-blue,.spinner-blue-only{border-color:#4285f4}.spinner-red,.spinner-red-only{border-color:#db4437}.spinner-yellow,.spinner-yellow-only{border-color:#f4b400}.spinner-green,.spinner-green-only{border-color:#0f9d58}.active .spinner-layer.spinner-blue{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,blue-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,blue-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer.spinner-red{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,red-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,red-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer.spinner-yellow{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer.spinner-green{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,green-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,green-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer,.active .spinner-layer.spinner-blue-only,.active .spinner-layer.spinner-green-only,.active .spinner-layer.spinner-red-only,.active .spinner-layer.spinner-yellow-only{opacity:1;-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg)}to{-webkit-transform:rotate(3turn)}}@keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(3turn);transform:rotate(3turn)}}@-webkit-keyframes blue-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes blue-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@-webkit-keyframes red-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes red-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@-webkit-keyframes yellow-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes yellow-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@-webkit-keyframes green-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}@keyframes green-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}.gap-patch{position:absolute;top:0;left:45%;width:10%;height:100%;overflow:hidden;border-color:inherit}.gap-patch .circle{width:1000%;left:-450%}.circle-clipper{display:inline-block;position:relative;width:50%;height:100%;overflow:hidden;border-color:inherit}.circle-clipper .circle{width:200%;height:100%;border-width:3px;border-style:solid;border-color:inherit;border-bottom-color:transparent!important;border-radius:50%;-webkit-animation:none;animation:none;position:absolute;top:0;right:0;bottom:0}.circle-clipper.left .circle{left:0;border-right-color:transparent!important;-webkit-transform:rotate(129deg);transform:rotate(129deg)}.circle-clipper.right .circle{left:-100%;border-left-color:transparent!important;-webkit-transform:rotate(-129deg);transform:rotate(-129deg)}.active .circle-clipper.left .circle{-webkit-animation:left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both;animation:left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}.active .circle-clipper.right .circle{-webkit-animation:right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both;animation:right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}@-webkit-keyframes left-spin{0%{-webkit-transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg)}}@keyframes left-spin{0%{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@-webkit-keyframes right-spin{0%{-webkit-transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg)}}@keyframes right-spin{0%{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}#spinnerContainer.cooldown{-webkit-animation:container-rotate 1568ms linear infinite,fade-out .4s cubic-bezier(.4,0,.2,1);animation:container-rotate 1568ms linear infinite,fade-out .4s cubic-bezier(.4,0,.2,1)}@-webkit-keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.slider{position:relative;height:400px;width:100%}.slider.fullscreen{height:100%;width:100%;position:absolute;top:0;left:0;right:0;bottom:0}.slider.fullscreen ul.slides{height:100%}.slider.fullscreen ul.indicators{z-index:2;bottom:30px}.slider .slides{background-color:#9e9e9e;margin:0;height:400px}.slider .slides li{opacity:0;position:absolute;top:0;left:0;z-index:1;width:100%;height:inherit;overflow:hidden}.slider .slides li img{height:100%;width:100%;background-size:cover;background-position:50%}.slider .slides li .caption{color:#fff;position:absolute;top:15%;left:15%;width:70%;opacity:0}.slider .slides li .caption p{color:#e0e0e0}.slider .slides li.active{z-index:2}.slider .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.slider .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:16px;width:16px;margin:0 12px;background-color:#e0e0e0;transition:background-color .3s;border-radius:50%}.slider .indicators .indicator-item.active{background-color:#4caf50}.carousel{overflow:hidden;position:relative;width:100%;height:400px;-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform-origin:0 50%;transform-origin:0 50%}.carousel.carousel-slider{top:0;left:0;height:0}.carousel.carousel-slider .carousel-fixed-item{position:absolute;left:0;right:0;bottom:20px;z-index:1}.carousel.carousel-slider .carousel-fixed-item.with-indicators{bottom:68px}.carousel.carousel-slider .carousel-item{width:100%;height:100%;min-height:400px;position:absolute;top:0;left:0}.carousel.carousel-slider .carousel-item h2{font-size:24px;font-weight:500;line-height:32px}.carousel.carousel-slider .carousel-item p{font-size:15px}.carousel .carousel-item{display:none;width:200px;height:200px;position:absolute;top:0;left:0}.carousel .carousel-item>img{width:100%}.carousel .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.carousel .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:8px;width:8px;margin:24px 4px;background-color:hsla(0,0%,100%,.5);transition:background-color .3s;border-radius:50%}.carousel .indicators .indicator-item.active{background-color:#fff}.carousel .carousel-item:not(.active) .materialboxed,.carousel.scrolling .carousel-item .materialboxed{pointer-events:none}.tap-target-wrapper{width:800px;height:800px;position:fixed;z-index:1000;visibility:hidden;transition:visibility 0s .3s}.tap-target-wrapper.open{visibility:visible;transition:visibility 0s}.tap-target-wrapper.open .tap-target{opacity:.95;transition:opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out,opacity .3s ease-in-out;transition:transform .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out}.tap-target-wrapper.open .tap-target,.tap-target-wrapper.open .tap-target-wave:before{-webkit-transform:scale(1);transform:scale(1)}.tap-target-wrapper.open .tap-target-wave:after{visibility:visible;-webkit-animation:pulse-animation 1s cubic-bezier(.24,0,.38,1) infinite;animation:pulse-animation 1s cubic-bezier(.24,0,.38,1) infinite;transition:opacity .3s,visibility 0s 1s,-webkit-transform .3s;transition:opacity .3s,transform .3s,visibility 0s 1s;transition:opacity .3s,transform .3s,visibility 0s 1s,-webkit-transform .3s}.tap-target{position:absolute;font-size:1rem;border-radius:50%;background-color:#ee6e73;box-shadow:0 20px 20px 0 rgba(0,0,0,.14),0 10px 50px 0 rgba(0,0,0,.12),0 30px 10px -20px rgba(0,0,0,.2);width:100%;height:100%;opacity:0;-webkit-transform:scale(0);transform:scale(0);transition:opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out,opacity .3s ease-in-out;transition:transform .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out}.tap-target-content{position:relative;display:table-cell}.tap-target-wave{position:absolute;border-radius:50%;z-index:10001}.tap-target-wave:after,.tap-target-wave:before{content:"";display:block;position:absolute;width:100%;height:100%;border-radius:50%;background-color:#fff}.tap-target-wave:before{-webkit-transform:scale(0);transform:scale(0);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.tap-target-wave:after{visibility:hidden;transition:opacity .3s,visibility 0s,-webkit-transform .3s;transition:opacity .3s,transform .3s,visibility 0s;transition:opacity .3s,transform .3s,visibility 0s,-webkit-transform .3s;z-index:-1}.tap-target-origin{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:10002;position:absolute!important}.tap-target-origin:not(.btn):not(.btn-large),.tap-target-origin:not(.btn):not(.btn-large):hover{background:none}@media only screen and (max-width:600px){.tap-target,.tap-target-wrapper{width:600px;height:600px}}.pulse{overflow:initial;position:relative}.pulse:before{content:"";display:block;position:absolute;width:100%;height:100%;top:0;left:0;background-color:inherit;border-radius:inherit;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-animation:pulse-animation 1s cubic-bezier(.24,0,.38,1) infinite;animation:pulse-animation 1s cubic-bezier(.24,0,.38,1) infinite;z-index:-1}@-webkit-keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}to{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}@keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}to{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}.picker{font-size:16px;text-align:left;line-height:1.2;color:#000;position:absolute;z-index:10000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.picker__input{cursor:default}.picker__input.picker__input--active{border-color:#0089ec}.picker__holder{width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.picker__frame,.picker__holder{bottom:0;left:0;right:0;top:100%}.picker__holder{position:fixed;transition:background .15s ease-out,top 0s .15s;-webkit-backface-visibility:hidden}.picker__frame{position:absolute;min-width:256px;width:300px;max-height:350px;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;opacity:0;transition:all .15s ease-out}@media (min-height:28.875em){.picker__frame{overflow:visible;top:auto;bottom:-100%;max-height:80%}}@media (min-height:40.125em){.picker__frame{margin-bottom:7.5%}}.picker__wrap{display:table;width:100%;height:100%}@media (min-height:28.875em){.picker__wrap{display:block}}.picker__box{background:#fff;display:table-cell;vertical-align:middle}@media (min-height:28.875em){.picker__box{display:block;border:1px solid #777;border-top-color:#898989;border-bottom-width:0;border-radius:5px 5px 0 0;box-shadow:0 12px 36px 16px rgba(0,0,0,.24)}}.picker--opened .picker__holder{top:0;background:transparent;-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#1E000000,endColorstr=#1E000000)";zoom:1;background:rgba(0,0,0,.32);transition:background .15s ease-out}.picker--opened .picker__frame{top:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);-moz-opacity:1;opacity:1}@media (min-height:35.875em){.picker--opened .picker__frame{top:10%;bottom:auto}}.picker__input.picker__input--active{border-color:#e3f2fd}.picker__frame{margin:0 auto;max-width:325px}@media (min-height:38.875em){.picker--opened .picker__frame{top:10%;bottom:auto}}.picker__box{padding:0 1em}.picker__header{text-align:center;position:relative;margin-top:.75em}.picker__month,.picker__year{display:inline-block;margin-left:.25em;margin-right:.25em}.picker__select--month,.picker__select--year{height:2em;padding:0;margin-left:.25em;margin-right:.25em}.picker__select--month.browser-default{display:inline;background-color:#fff;width:40%}.picker__select--year.browser-default{display:inline;background-color:#fff;width:26%}.picker__select--month:focus,.picker__select--year:focus{border-color:rgba(0,0,0,.05)}.picker__nav--next,.picker__nav--prev{position:absolute;padding:.5em 1.25em;width:1em;height:1em;box-sizing:content-box;top:-.25em}.picker__nav--prev{left:-1em;padding-right:1.25em}.picker__nav--next{right:-1em;padding-left:1.25em}.picker__nav--disabled,.picker__nav--disabled:before,.picker__nav--disabled:before:hover,.picker__nav--disabled:hover{cursor:default;background:none;border-right-color:#f5f5f5;border-left-color:#f5f5f5}.picker__table{border-collapse:collapse;border-spacing:0;table-layout:fixed;font-size:1rem;width:100%;margin-top:.75em}.picker__table,.picker__table td,.picker__table th{text-align:center}.picker__table td{margin:0;padding:0}.picker__weekday{width:14.285714286%;font-size:.75em;padding-bottom:.25em;color:#999;font-weight:500}@media (min-height:33.875em){.picker__weekday{padding-bottom:.5em}}.picker__day--today{position:relative;color:#595959;letter-spacing:-.3;padding:.75rem 0;font-weight:400;border:1px solid transparent}.picker__day--disabled:before{border-top-color:#aaa}.picker__day--infocus:hover{cursor:pointer;color:#000;font-weight:500}.picker__day--outfocus{display:none;padding:.75rem 0;color:#fff}.picker__day--outfocus:hover{cursor:pointer;color:#ddd;font-weight:500}.picker--focused .picker__day--highlighted,.picker__day--highlighted:hover{cursor:pointer}.picker--focused .picker__day--selected,.picker__day--selected,.picker__day--selected:hover{-webkit-transform:scale(.75);transform:scale(.75);background:#0089ec}.picker--focused .picker__day--disabled,.picker__day--disabled,.picker__day--disabled:hover{background:#f5f5f5;border-color:#f5f5f5;color:#ddd;cursor:default}.picker__day--highlighted.picker__day--disabled,.picker__day--highlighted.picker__day--disabled:hover{background:#bbb}.picker__footer{text-align:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.picker__button--clear,.picker__button--close,.picker__button--today{border:1px solid #fff;background:#fff;font-size:.8em;padding:.66em 0;font-weight:700;width:33%;display:inline-block;vertical-align:bottom}.picker__button--clear:hover,.picker__button--close:hover,.picker__button--today:hover{cursor:pointer;color:#000;background:#b1dcfb;border-bottom-color:#b1dcfb}.picker__button--clear:focus,.picker__button--close:focus,.picker__button--today:focus{background:#b1dcfb;border-color:rgba(0,0,0,.05);outline:none}.picker__button--clear:before,.picker__button--close:before,.picker__button--today:before{position:relative;display:inline-block;height:0}.picker__button--clear:before,.picker__button--today:before{content:" ";margin-right:.45em}.picker__button--today:before{top:-.05em;width:0;border-top:.66em solid #0059bc;border-left:.66em solid transparent}.picker__button--clear:before{top:-.25em;width:.66em;border-top:3px solid #e20}.picker__button--close:before{content:"\D7";top:-.1em;vertical-align:top;font-size:1.1em;margin-right:.35em;color:#777}.picker__button--today[disabled],.picker__button--today[disabled]:hover{background:#f5f5f5;border-color:#f5f5f5;color:#ddd;cursor:default}.picker__button--today[disabled]:before{border-top-color:#aaa}.picker__box{border-radius:2px;overflow:hidden}.picker__date-display{text-align:center;background-color:#26a69a;color:#fff;padding-bottom:15px;font-weight:300}.picker__nav--next:hover,.picker__nav--prev:hover{cursor:pointer;color:#000;background:#a1ded8}.picker__weekday-display{background-color:#1f897f;padding:10px;font-weight:200;letter-spacing:.5;font-size:1rem;margin-bottom:15px}.picker__month-display{text-transform:uppercase;font-size:2rem}.picker__day-display{font-size:4.5rem;font-weight:400}.picker__year-display{font-size:1.8rem;color:hsla(0,0%,100%,.4)}.picker__box{padding:0}.picker__calendar-container{padding:0 1rem}.picker__calendar-container thead{border:none}.picker__table{margin-top:0;margin-bottom:.5em}.picker__day--infocus{color:#595959;letter-spacing:-.3;padding:.75rem 0;font-weight:400;border:1px solid transparent}.picker__day.picker__day--today{color:#26a69a}.picker__day.picker__day--today.picker__day--selected{color:#fff}.picker__weekday{font-size:.9rem}.picker--focused .picker__day--selected,.picker__day--selected,.picker__day--selected:hover{border-radius:50%;-webkit-transform:scale(.9);transform:scale(.9);background-color:#26a69a;color:#fff}.picker--focused .picker__day--selected.picker__day--outfocus,.picker__day--selected.picker__day--outfocus,.picker__day--selected:hover.picker__day--outfocus{background-color:#a1ded8}.picker__footer{text-align:right;padding:5px 10px}.picker__close,.picker__today{font-size:1.1rem;padding:0 1rem;color:#26a69a}.picker__nav--next:before,.picker__nav--prev:before{content:" ";border-top:.5em solid transparent;border-bottom:.5em solid transparent;border-right:.75em solid #676767;width:0;height:0;display:block;margin:0 auto}.picker__nav--next:before{border-right:0;border-left:.75em solid #676767}button.picker__clear:focus,button.picker__close:focus,button.picker__today:focus{background-color:#a1ded8}.picker__list{list-style:none;padding:.75em 0 4.2em;margin:0}.picker__list-item{border-bottom:1px solid #ddd;border-top:1px solid #ddd;margin-bottom:-1px;position:relative;background:#fff;padding:.75em 1.25em}@media (min-height:46.75em){.picker__list-item{padding:.5em 1em}}.picker__list-item:hover{cursor:pointer;color:#000;background:#b1dcfb}.picker__list-item--highlighted,.picker__list-item:hover{border-color:#0089ec;z-index:10}.picker--focused .picker__list-item--highlighted,.picker__list-item--highlighted:hover{cursor:pointer;color:#000;background:#b1dcfb}.picker--focused .picker__list-item--selected,.picker__list-item--selected,.picker__list-item--selected:hover{background:#0089ec;color:#fff;z-index:10}.picker--focused .picker__list-item--disabled,.picker__list-item--disabled,.picker__list-item--disabled:hover{background:#f5f5f5;border-color:#f5f5f5;color:#ddd;cursor:default;border-color:#ddd;z-index:auto}.picker--time .picker__button--clear{display:block;width:80%;margin:1em auto 0;padding:1em 1.25em;background:none;border:0;font-weight:500;font-size:.67em;text-align:center;text-transform:uppercase;color:#666}.picker--time .picker__button--clear:focus,.picker--time .picker__button--clear:hover{color:#000;background:#b1dcfb;background:#e20;border-color:#e20;cursor:pointer;color:#fff;outline:none}.picker--time .picker__button--clear:before{top:-.25em;color:#666;font-size:1.25em;font-weight:700}.picker--time .picker__button--clear:focus:before,.picker--time .picker__button--clear:hover:before{color:#fff}.picker--time .picker__frame{min-width:256px;max-width:320px}.picker--time .picker__box{font-size:1em;background:#f2f2f2;padding:0}@media (min-height:40.125em){.picker--time .picker__box{margin-bottom:5em}}.annotator-filter *,.annotator-notice,.annotator-widget *{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-weight:400;text-align:left;margin:0;padding:0;background:none;-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;color:#909090}.annotator-adder{background-image:url(/bundles/wallabagcore/img/annotator-icon-sprite.png);background-repeat:no-repeat}.annotator-editor a:after,.annotator-filter .annotator-filter-navigation button:after,.annotator-filter .annotator-filter-property .annotator-filter-clear,.annotator-resize,.annotator-viewer .annotator-controls a,.annotator-viewer .annotator-controls button,.annotator-widget:after{background-image:url(/bundles/wallabagcore/img/annotator-glyph-sprite.png);background-repeat:no-repeat}.annotator-hl{background:#ffff0a;background:rgba(255,255,10,.3);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4DFFFF0A, endColorstr=#4DFFFF0A)"}.annotator-hl-temporary{background:#007cff;background:rgba(0,124,255,.3);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4D007CFF, endColorstr=#4D007CFF)"}.annotator-wrapper{position:relative}.annotator-adder,.annotator-notice,.annotator-outer{z-index:1020}.annotator-filter{z-index:1010}.annotator-adder,.annotator-notice,.annotator-outer,.annotator-widget{position:absolute;font-size:10px;line-height:1}.annotator-hide{display:none;visibility:hidden}.annotator-adder{margin-top:-48px;margin-left:-24px;width:48px;height:48px;background-position:0 0}.annotator-adder:hover{background-position:top}.annotator-adder:active{background-position:100%}.annotator-adder button{display:block;width:36px;height:41px;margin:0 auto;border:none;background:none;text-indent:-999em;cursor:pointer}.annotator-outer{width:0;height:0}.annotator-widget{margin:0;padding:0;bottom:15px;left:-18px;min-width:265px;background-color:#fbfbfb;background-color:hsla(0,0%,98%,.98);border:1px solid #7a7a7a;border:1px solid hsla(0,0%,48%,.6);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.2);-moz-box-shadow:0 5px 15px rgba(0,0,0,.2);-o-box-shadow:0 5px 15px rgba(0,0,0,.2);box-shadow:0 5px 15px rgba(0,0,0,.2)}.annotator-invert-x .annotator-widget{left:auto;right:-18px}.annotator-invert-y .annotator-widget{bottom:auto;top:8px}.annotator-widget strong{font-weight:700}.annotator-widget .annotator-item,.annotator-widget .annotator-listing{padding:0;margin:0;list-style:none}.annotator-widget:after{content:"";display:block;width:18px;height:10px;background-position:0 0;position:absolute;bottom:-10px;left:8px}.annotator-invert-x .annotator-widget:after{left:auto;right:8px}.annotator-invert-y .annotator-widget:after{background-position:0 -15px;bottom:auto;top:-9px}.annotator-editor .annotator-item input,.annotator-editor .annotator-item textarea,.annotator-widget .annotator-item{position:relative;font-size:12px}.annotator-viewer .annotator-item{border-top:2px solid #7a7a7a;border-top:2px solid hsla(0,0%,48%,.2)}.annotator-widget .annotator-item:first-child{border-top:none}.annotator-editor .annotator-item,.annotator-viewer div{border-top:1px solid #858585;border-top:1px solid hsla(0,0%,52%,.11)}.annotator-viewer div{padding:6px}.annotator-viewer .annotator-item ol,.annotator-viewer .annotator-item ul{padding:4px 16px}.annotator-editor .annotator-item:first-child textarea,.annotator-viewer div:first-of-type{padding-top:12px;padding-bottom:12px;color:#3c3c3c;font-size:13px;font-style:italic;line-height:1.3;border-top:none}.annotator-viewer .annotator-controls{position:relative;top:5px;right:5px;padding-left:5px;opacity:0;-webkit-transition:opacity .2s ease-in;-moz-transition:opacity .2s ease-in;-o-transition:opacity .2s ease-in;transition:opacity .2s ease-in;float:right}.annotator-viewer li .annotator-controls.annotator-visible,.annotator-viewer li:hover .annotator-controls{opacity:1}.annotator-viewer .annotator-controls a,.annotator-viewer .annotator-controls button{cursor:pointer;display:inline-block;width:13px;height:13px;margin-left:2px;border:none;opacity:.2;text-indent:-900em;background-color:transparent;outline:none}.annotator-viewer .annotator-controls a:focus,.annotator-viewer .annotator-controls a:hover,.annotator-viewer .annotator-controls button:focus,.annotator-viewer .annotator-controls button:hover{opacity:.9}.annotator-viewer .annotator-controls a:active,.annotator-viewer .annotator-controls button:active{opacity:1}.annotator-viewer .annotator-controls button[disabled]{display:none}.annotator-viewer .annotator-controls .annotator-edit{background-position:0 -60px}.annotator-viewer .annotator-controls .annotator-delete{background-position:0 -75px}.annotator-viewer .annotator-controls .annotator-link{background-position:0 -270px}.annotator-editor .annotator-item{position:relative}.annotator-editor .annotator-item label{top:0;display:inline;cursor:pointer;font-size:12px}.annotator-editor .annotator-item input,.annotator-editor .annotator-item textarea{display:block;min-width:100%;padding:10px 8px;border:none;margin:0;color:#3c3c3c;background:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;resize:none}.annotator-editor .annotator-item textarea::-webkit-scrollbar{height:8px;width:8px}.annotator-editor .annotator-item textarea::-webkit-scrollbar-track-piece{margin:13px 0 3px;background-color:#e5e5e5;-webkit-border-radius:4px}.annotator-editor .annotator-item textarea::-webkit-scrollbar-thumb:vertical{height:25px;background-color:#ccc;-webkit-border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1)}.annotator-editor .annotator-item textarea::-webkit-scrollbar-thumb:horizontal{width:25px;background-color:#ccc;-webkit-border-radius:4px}.annotator-editor .annotator-item:first-child textarea{min-height:5.5em;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;-o-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.annotator-editor .annotator-item input:focus,.annotator-editor .annotator-item textarea:focus{background-color:#f3f3f3;outline:none}.annotator-editor .annotator-item input[type=checkbox],.annotator-editor .annotator-item input[type=radio]{width:auto;min-width:0;padding:0;display:inline;margin:0 4px 0 0;cursor:pointer}.annotator-editor .annotator-checkbox{padding:8px 6px}.annotator-editor .annotator-controls,.annotator-filter,.annotator-filter .annotator-filter-navigation button{text-align:right;padding:3px;border-top:1px solid #d4d4d4;background-color:#d4d4d4;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),color-stop(.6,#dcdcdc),to(#d2d2d2));background-image:-moz-linear-gradient(to bottom,#f5f5f5,#dcdcdc 60%,#d2d2d2);background-image:-webkit-linear-gradient(180deg,#f5f5f5,#dcdcdc 60%,#d2d2d2);background-image:linear-gradient(180deg,#f5f5f5,#dcdcdc 60%,#d2d2d2);-webkit-box-shadow:inset 1px 0 0 hsla(0,0%,100%,.7),inset -1px 0 0 hsla(0,0%,100%,.7),inset 0 1px 0 hsla(0,0%,100%,.7);-moz-box-shadow:inset 1px 0 0 hsla(0,0%,100%,.7),inset -1px 0 0 hsla(0,0%,100%,.7),inset 0 1px 0 hsla(0,0%,100%,.7);-o-box-shadow:inset 1px 0 0 hsla(0,0%,100%,.7),inset -1px 0 0 hsla(0,0%,100%,.7),inset 0 1px 0 hsla(0,0%,100%,.7);box-shadow:inset 1px 0 0 hsla(0,0%,100%,.7),inset -1px 0 0 hsla(0,0%,100%,.7),inset 0 1px 0 hsla(0,0%,100%,.7);-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;-o-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}.annotator-editor.annotator-invert-y .annotator-controls{border-top:none;border-bottom:1px solid #b4b4b4;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;-o-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.annotator-editor a,.annotator-filter .annotator-filter-property label{position:relative;display:inline-block;padding:0 6px 0 22px;color:#363636;text-shadow:0 1px 0 hsla(0,0%,100%,.75);text-decoration:none;line-height:24px;font-size:12px;font-weight:700;border:1px solid #a2a2a2;background-color:#d4d4d4;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),color-stop(.5,#d2d2d2),color-stop(.5,#bebebe),to(#d2d2d2));background-image:-moz-linear-gradient(to bottom,#f5f5f5,#d2d2d2 50%,#bebebe 50%,#d2d2d2);background-image:-webkit-linear-gradient(180deg,#f5f5f5,#d2d2d2 50%,#bebebe 0,#d2d2d2);background-image:linear-gradient(180deg,#f5f5f5,#d2d2d2 50%,#bebebe 0,#d2d2d2);-webkit-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-moz-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-o-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-webkit-border-radius:5px;-moz-border-radius:5px;-o-border-radius:5px;border-radius:5px}.annotator-editor a:after{position:absolute;top:50%;left:5px;display:block;content:"";width:15px;height:15px;margin-top:-7px;background-position:0 -90px}.annotator-editor a.annotator-focus,.annotator-editor a:focus,.annotator-editor a:hover,.annotator-filter .annotator-filter-active label,.annotator-filter .annotator-filter-navigation button:hover{outline:none;border-color:#435aa0;background-color:#3865f9;background-image:-webkit-gradient(linear,left top,left bottom,from(#7691fb),color-stop(.5,#5075fb),color-stop(.5,#3865f9),to(#3665fa));background-image:-moz-linear-gradient(to bottom,#7691fb,#5075fb 50%,#3865f9 50%,#3665fa);background-image:-webkit-linear-gradient(180deg,#7691fb,#5075fb 50%,#3865f9 0,#3665fa);background-image:linear-gradient(180deg,#7691fb,#5075fb 50%,#3865f9 0,#3665fa);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.42)}.annotator-editor a:focus:after,.annotator-editor a:hover:after{margin-top:-8px;background-position:0 -105px}.annotator-editor a:active,.annotator-filter .annotator-filter-navigation button:active{border-color:#700c49;background-color:#d12e8e;background-image:-webkit-gradient(linear,left top,left bottom,from(#fc7cca),color-stop(.5,#e85db2),color-stop(.5,#d12e8e),to(#ff009c));background-image:-moz-linear-gradient(to bottom,#fc7cca,#e85db2 50%,#d12e8e 50%,#ff009c);background-image:-webkit-linear-gradient(180deg,#fc7cca,#e85db2 50%,#d12e8e 0,#ff009c);background-image:linear-gradient(180deg,#fc7cca,#e85db2 50%,#d12e8e 0,#ff009c)}.annotator-editor a.annotator-save:after{background-position:0 -120px}.annotator-editor a.annotator-save.annotator-focus:after,.annotator-editor a.annotator-save:focus:after,.annotator-editor a.annotator-save:hover:after{margin-top:-8px;background-position:0 -135px}.annotator-editor .annotator-widget:after{background-position:0 -30px}.annotator-editor.annotator-invert-y .annotator-widget .annotator-controls{background-color:#f2f2f2}.annotator-editor.annotator-invert-y .annotator-widget:after{background-position:0 -45px;height:11px}.annotator-resize{position:absolute;top:0;right:0;width:12px;height:12px;background-position:2px -150px}.annotator-invert-x .annotator-resize{right:auto;left:0;background-position:0 -195px}.annotator-invert-y .annotator-resize{top:auto;bottom:0;background-position:2px -165px}.annotator-invert-y.annotator-invert-x .annotator-resize{background-position:0 -180px}.annotator-notice{color:#fff;position:fixed;top:-54px;left:0;width:100%;font-size:14px;line-height:50px;text-align:center;background:#000;background:rgba(0,0,0,.9);border-bottom:4px solid #d4d4d4;-webkit-transition:top .4s ease-out;-moz-transition:top .4s ease-out;-o-transition:top .4s ease-out;transition:top .4s ease-out}.annotator-notice-success{border-color:#3665f9}.annotator-notice-error{border-color:#ff7e00}.annotator-notice p{margin:0}.annotator-notice a{color:#fff}.annotator-notice-show{top:0}.annotator-tags{margin-bottom:-2px}.annotator-tags .annotator-tag{display:inline-block;padding:0 8px;margin-bottom:2px;line-height:1.6;font-weight:700;background-color:#e6e6e6;-webkit-border-radius:8px;-moz-border-radius:8px;-o-border-radius:8px;border-radius:8px}.annotator-filter{position:fixed;top:0;right:0;left:0;text-align:left;line-height:0;border:none;border-bottom:1px solid #878787;padding-left:10px;padding-right:10px;-webkit-border-radius:0;-moz-border-radius:0;-o-border-radius:0;border-radius:0;-webkit-box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.3);-moz-box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.3);-o-box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.3);box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.3)}.annotator-filter strong{font-size:12px;font-weight:700;color:#3c3c3c;text-shadow:0 1px 0 hsla(0,0%,100%,.7);position:relative;top:-9px}.annotator-filter .annotator-filter-navigation,.annotator-filter .annotator-filter-property{position:relative;display:inline-block;overflow:hidden;line-height:10px;padding:2px 0;margin-right:8px}.annotator-filter .annotator-filter-navigation button,.annotator-filter .annotator-filter-property label{text-align:left;display:block;float:left;line-height:20px;-webkit-border-radius:10px 0 0 10px;-moz-border-radius:10px 0 0 10px;-o-border-radius:10px 0 0 10px;border-radius:10px 0 0 10px}.annotator-filter .annotator-filter-property label{padding-left:8px}.annotator-filter .annotator-filter-property input{display:block;float:right;-webkit-appearance:none;background-color:#fff;border:1px solid #878787;border-left:none;padding:2px 4px;line-height:16px;min-height:16px;font-size:12px;width:150px;color:#333;background-color:#f8f8f8;-webkit-border-radius:0 10px 10px 0;-moz-border-radius:0 10px 10px 0;-o-border-radius:0 10px 10px 0;border-radius:0 10px 10px 0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.2);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.2);-o-box-shadow:inset 0 1px 1px rgba(0,0,0,.2);box-shadow:inset 0 1px 1px rgba(0,0,0,.2)}.annotator-filter .annotator-filter-property input:focus{outline:none;background-color:#fff}.annotator-filter .annotator-filter-clear{position:absolute;right:3px;top:6px;border:none;text-indent:-900em;width:15px;height:15px;background-position:0 -90px;opacity:.4}.annotator-filter .annotator-filter-clear:focus,.annotator-filter .annotator-filter-clear:hover{opacity:.8}.annotator-filter .annotator-filter-clear:active{opacity:1}.annotator-filter .annotator-filter-navigation button{border:1px solid #a2a2a2;padding:0;text-indent:-900px;width:20px;min-height:22px;-webkit-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-moz-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-o-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8)}.annotator-filter .annotator-filter-navigation button,.annotator-filter .annotator-filter-navigation button:focus,.annotator-filter .annotator-filter-navigation button:hover{color:transparent}.annotator-filter .annotator-filter-navigation button:after{position:absolute;top:8px;left:8px;content:"";display:block;width:9px;height:9px;background-position:0 -210px}.annotator-filter .annotator-filter-navigation button:hover:after{background-position:0 -225px}.annotator-filter .annotator-filter-navigation .annotator-filter-next{-webkit-border-radius:0 10px 10px 0;-moz-border-radius:0 10px 10px 0;-o-border-radius:0 10px 10px 0;border-radius:0 10px 10px 0;border-left:none}.annotator-filter .annotator-filter-navigation .annotator-filter-next:after{left:auto;right:7px;background-position:0 -240px}.annotator-filter .annotator-filter-navigation .annotator-filter-next:hover:after{background-position:0 -255px}.annotator-hl-active{background:#ffff0a;background:rgba(255,255,10,.8);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFF0A, endColorstr=#CCFFFF0A)"}.annotator-hl-filtered{background-color:transparent}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(/bundles/wallabagcore/fonts/MaterialIcons-Regular.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(/bundles/wallabagcore/fonts/MaterialIcons-Regular.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/MaterialIcons-Regular.woff) format("woff"),url(/bundles/wallabagcore/fonts/MaterialIcons-Regular.ttf) format("truetype")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}@font-face{font-family:Lato;font-weight:100;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-hairline.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-hairline.woff) format("woff")}@font-face{font-family:Lato;font-weight:100;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-hairline-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-hairline-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:200;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-thin.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-thin.woff) format("woff")}@font-face{font-family:Lato;font-weight:200;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-thin-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-thin-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:300;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-light.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-light.woff) format("woff")}@font-face{font-family:Lato;font-weight:300;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-light-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-light-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:400;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-normal.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-normal.woff) format("woff")}@font-face{font-family:Lato;font-weight:400;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-normal-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-normal-italic.woff) format("woff")}@font-face{font-family:Lato Medium;font-weight:400;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-medium.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-medium.woff) format("woff")}@font-face{font-family:Lato Medium;font-weight:400;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-medium-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-medium-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:500;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-semibold.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-semibold.woff) format("woff")}@font-face{font-family:Lato;font-weight:500;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-semibold-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-semibold-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:600;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-bold.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-bold.woff) format("woff")}@font-face{font-family:Lato;font-weight:600;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-bold-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-bold-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:800;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-heavy.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-heavy.woff) format("woff")}@font-face{font-family:Lato;font-weight:800;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-heavy-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-heavy-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:900;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-black.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-black.woff) format("woff")}@font-face{font-family:Lato;font-weight:900;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-black-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-black-italic.woff) format("woff")}.material-icons.md-18{font-size:18px}.material-icons.md-24{font-size:24px}.material-icons.md-36{font-size:36px}.material-icons.md-48{font-size:48px}.material-icons.md-dark{color:rgba(0,0,0,.54)}.material-icons.md-dark.md-inactive{color:rgba(0,0,0,.26)}.material-icons.md-light{color:#fff}.material-icons.md-light.md-inactive{color:hsla(0,0%,100%,.3)}#article{font-size:20px;margin:0 auto;max-width:45em}#article article{color:#424242;font-size:18px;line-height:1.7em}#article article h1,#article article h2,#article article h3,#article article h4,#article article h5,#article article h6{color:#212121}#article article h1 strong,#article article h2 strong,#article article h3 strong,#article article h4 strong,#article article h5 strong,#article article h6 strong{font-weight:500}#article article h6{font-size:1.2rem}#article article h5{font-size:1.6rem}#article article h4{font-size:1.9rem}#article article h3{font-size:2.2rem}#article article h2{font-size:2.5rem}#article article h1{font-size:2.7rem}#article article a{border-bottom:1px dotted #03a9f4;text-decoration:none}#article article a:hover{border-bottom-style:solid}#article article ul{padding-left:30px}#article article ul,#article article ul li{list-style-type:disc}#article article blockquote{font-style:italic}#article article strong{font-weight:700}#article figure,#article img{max-width:100%;height:auto}#article pre{box-sizing:border-box;margin:0 0 1.75em;border:1px solid #e3f2fd;width:100%;padding:10px;font-family:monospace;font-size:.8em;white-space:pre;overflow:auto;background:#f5f5f5;border-radius:3px}#article>header>h1{font-size:2em;margin:2.1rem 0 .68rem}#article aside .tools{display:flex;flex-flow:row wrap}#article aside .tools .stats{font-size:.8em;margin:8px 15px 5px}#article aside .tools .stats li{display:inline-flex;vertical-align:middle;margin:0 5px}#article aside .tools .stats a{color:#000;text-decoration:none}#article aside .tools .tags{float:right;margin:5px 15px 10px}#article aside .chip{background-color:rgba(0,151,167,.85);padding:0 15px 0 10px;margin:auto 2px;border-radius:6px}#article aside .chip a,#article aside .chip i{color:#fff}#article aside .chip i.material-icons{float:right;font-size:20px;line-height:32px;padding-left:8px}.reader-mode{width:70px!important;transition:width .2s ease}.reader-mode .collapsible-body{height:0;overflow:hidden}.reader-mode span{opacity:0;transition:opacity .2s ease}.reader-mode:hover{width:260px!important}.reader-mode:hover .collapsible-body{height:auto}.reader-mode:hover .collapsible-body li a i.material-icons{margin:auto 5px auto -8px}.reader-mode:hover span{opacity:1}.progress{position:fixed;top:0;width:100%;height:3px;margin:0;z-index:9999}main #content{padding:0 .5rem}main ul.row{padding:0 .75rem}.data .card .card-body{height:19em;overflow:hidden}.card .card-content .card-title,.card .card-reveal .card-title{line-height:22.8px;max-height:80px;font-size:19px;font-family:roberto,Helvetica Neue,Helvetica,Arial,sans-serif;color:#313131}.card .card-stacked .card-content .card-title{display:inline-block}.card .card-content .activator,.card .card-reveal .activator{cursor:pointer;font-family:Material Icons}.card .card-content i.right,.card .card-reveal i.right{margin-left:0}.card .card-content .original{line-height:24px;font-size:15px}.card .card-entry-labels{position:absolute;top:10px;z-index:90;max-width:50%}.card .card-entry-labels-hidden{margin:2.5px auto}.card .card-entry-labels-hidden li{display:inline-block;background-color:rgba(0,151,167,.85);margin:0 5px;padding:5px 12px;border-radius:3px;color:#fff;max-height:2em;max-width:calc(100% - 15px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card .card-content .estimatedTime{margin-bottom:10px}.card .card-action{padding:10px 5px 10px 15px}.card .card-action ul.links{margin:0;font-size:24px;line-height:24px}.card .card-action a{color:#fff;margin:0}.card .card-action a:hover{color:#fff}.card .card-action ul.tools li a.tool{margin-right:5px!important}.card .card-action .reading-time{display:inline-flex;vertical-align:middle}.card .card-action .reading-time span{margin-right:5px}.card .card-image{height:10em}.card .card-fullimage{height:13.5em}.card .card-fullimage .preview,.card .card-image .preview{height:14em;background:no-repeat 50%/cover}.card.sw{max-width:370px;margin-left:auto;margin-right:auto}a.original:not(.waves-effect){text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}.card-entry-labels li,.card-tag-labels li{margin:10px 10px 10px auto;padding:5px 12px 5px 16px!important;background-color:rgba(0,151,167,.85);border-radius:0 3px 3px 0;color:#fff;cursor:default;max-height:2em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#list .chip a,.card-entry-labels-hidden a,.card-entry-labels a,.card-entry-tags a,.card-tag-labels a{text-decoration:none;font-weight:400;color:#fff}.card-stacked{display:flex;flex-flow:row wrap}.card-stacked:hover ul.tools-list{display:inline;text-align:right}.card-stacked .preview{max-width:100px;height:auto;margin-right:10px;flex:1}.card-stacked .preview img{max-width:100%;max-height:100%}.card-stacked div.metadata .chip{background-color:rgba(0,151,167,.85);padding:0 15px 0 10px;margin:auto 2px;border-radius:6px}.card-stacked div.metadata .chip a,.card-stacked div.metadata .chip i{color:#fff}.card-stacked div.metadata .chip i.material-icons{float:right;font-size:20px;line-height:32px;padding-left:8px}.card-stacked div.card-content{flex:4}.card-stacked ul.tools-list{flex:1;display:none;flex-basis:5em;align-self:flex-end;float:right;max-width:6em}#content .collection .collection-item{min-height:65px;height:auto}.quickstart .card .card-action a,.quickstart .card .card-action a:hover{color:#fff!important}.settings .div_tabs{padding-bottom:15px}.collection{margin:15px 15px 0}.collection .collection-item{padding:7px;height:65px}.results{height:1em}.results .nb-results,.results .pagination{margin:15px 15px 0}.results .nb-results{display:inline-flex}.results a{color:#444}.pagination{float:right}.pagination ul{margin:0!important}.pagination ul .next.disabled,.pagination ul .prev.disabled{display:none}.pagination li{padding:0}.pagination a{padding:0 10px;height:30px;display:block}.pagination .disabled{margin-right:10px;margin-left:10px}.pagination li.active span{padding:0 10px;height:30px;display:block;color:#fff}.page-footer .footer-copyright{min-width:50px;height:auto!important;line-height:1em!important}.page-footer .footer-copyright p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}.hidden,.picker__date-display{display:none}footer.page-footer{margin-top:10px;padding-top:0}footer .row{margin-bottom:10px}#filters button{padding:0;width:100%}#filters div.with-checkbox{height:3rem;margin-top:0}body{display:flex;min-height:100vh;flex-direction:column;background:#fafafa}body.login main{padding:0;min-height:100vh}.border-bottom{border-bottom:1px solid #ddd}#content,.valign-wrapper,main{height:100%}#main{flex:1 0 auto}#main .logo a{height:100pt}#main .logo img{height:100pt;width:100pt}#main .logo:hover{background:transparent}nav{height:auto}nav input{color:#aaa}nav ul a:hover{background-color:initial}.nav-wrapper{display:flex;flex-wrap:wrap;justify-content:space-between;min-height:64px}.nav-wrapper .button-collapse{padding:0 15px}.nav-input{display:none}.nav-panel-buttom{display:flex;flex-grow:1;justify-content:flex-end}.nav-panel-buttom li{max-height:64px}.nav-panel-add .add,.nav-panel-search .search,.nav-panels .close{color:#444!important}.nav-panels{transition:background .2s ease}.nav-panels .action{padding-left:.75rem;font-size:2.1rem;white-space:nowrap}.nav-panels .input-field input{display:block;line-height:inherit;padding-left:4rem!important;width:calc(100% - 8rem);height:4.1rem}.nav-panels .input-field input:focus{background-color:#fff;border:0;box-shadow:none;color:#444}.input-field.nav-panel-add label,.input-field.nav-panel-search label{left:1rem}.input-field.nav-panel-add .close,.input-field.nav-panel-search .close{position:absolute;top:0;right:1rem;color:transparent;cursor:pointer;font-size:2rem;transition:color .3s}.input-field.nav-panel-add,.input-field.nav-panel-add form,.input-field.nav-panel-search,.input-field.nav-panel-search form{display:flex;flex:1}#button_export,#button_filters{display:none}.side-nav{width:240px}.side-nav li{padding:0}.side-nav li.logo>a:hover{background:initial}.side-nav a{margin:0}.side-nav.fixed a{font-size:13px;line-height:44px;height:44px}.side-nav .collapsible-header,.side-nav.fixed .collapsible-header{height:45px;line-height:44px;padding:0 20px}.side-nav>li.logo{line-height:0;text-align:center}.bold>a{font-weight:700}span.numberItems{float:right}div.settings div.file-field div,div.settings div.file-field ul{margin-top:40px}div.settings div.file-field div{margin-top:inherit}.input-field label.active{font-size:1rem}nav .input-field input{margin:0}.tabs{display:flex}.tab{flex:1}@font-face{font-family:icomoon;src:url(/bundles/wallabagcore/fonts/IcoMoon-Free.ttf);font-weight:400;font-style:normal}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;width:1em;height:1em;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.material-icons .md-18{font-size:18px}.material-icons .md-24{font-size:24px}.material-icons .md-36{font-size:36px}.material-icons .md-48{font-size:48px}.material-icons .md-dark{color:rgba(0,0,0,.54)}.material-icons .md-dark .md-inactive{color:rgba(0,0,0,.26)}.material-icons .md-light{color:#fff}.material-icons .md-light .md-inactive{color:hsla(0,0%,100%,.3)}[class*=" icon-"]:before,[class^=icon-]:before{font-family:icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;background-size:24px;letter-spacing:0;font-feature-settings:"liga"}.icon-eye:before{content:"\E9CE"}.icon-no-eye:before{content:"\E9D1"}.icon-calendar:before{content:"\E953"}.icon-mail:before{content:"\EA86"}.icon-time:before{content:"\E952"}a.icon-image{background-repeat:no-repeat;padding-right:.4em!important;padding-left:0!important;margin-left:25px}a.icon-image:before{content:"";display:block;width:24px;height:24px;float:left;margin:7px 1.5px 0 0}a.icon-image.carrot:before{background:url(/bundles/wallabagcore/img/carrot-icon--black.png) no-repeat 50%/90%}a.icon-image.diaspora:before{background:url(/bundles/wallabagcore/img/diaspora-icon--black.png) no-repeat 50%/80%}a.icon-image.unmark:before{background:url(/bundles/wallabagcore/img/unmark-icon--black.png) no-repeat 50%/80%}a.icon-image.shaarli:before{background:url(/bundles/wallabagcore/img/shaarli.png) no-repeat 50%/80%}a.icon-image.scuttle:before{background:url(/bundles/wallabagcore/img/scuttle.png) no-repeat 50%/80%}.icon-google-plus2:before{content:"\EA89"}.icon-facebook2:before{content:"\EA8D"}.icon-twitter:before{content:"\EA96"}.icon-apple:before{content:"\EABF"}.icon-android:before{content:"\EAC1"}.icon-chrome:before{content:"\EAE5"}.icon-firefox:before{content:"\EAE6"}.icon-link:before{content:"\E9CB"}footer [class*=" icon-"],footer [class^=icon-]{font-size:2em;transition:text-shadow .2s ease;padding-right:10px}footer [class*=" icon-"]:hover,footer [class^=icon-]:hover{text-shadow:0 0 10px rgba(0,0,0,.3)}@media print{body{font-family:Serif;background-color:#fff}@page{margin:1cm}img{max-width:100%!important}#article .mbm a,#article>aside,#article_toolbar,#links,#slide-out,#sort,.entry+.results,.hide-on-large-only,.messages,.progress,.top_link,body>footer,body>header,div.tools,header div{display:none!important}main{padding-left:0!important}#article{margin:inherit!important}article{border:none!important}.vieworiginal a:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.pagination span.current{border-style:dashed}#main{margin:0;padding:0}#article,#main{width:100%}}@media only screen and (min-width:992px){body:not(.entry) main,footer,nav{padding-left:240px}}@media only screen and (max-width:992px){footer,header,main,nav{padding-left:0}.pagination{width:auto}.nav-panels .action{padding-right:.75rem}.nav-panel-buttom{justify-content:space-around}#article{max-width:35em;margin-left:auto;margin-right:auto;font-size:18px}#article>header>h1{font-size:1.33em}.reader-mode{width:240px!important}.reader-mode span{opacity:1}.tabs{display:inline-block;height:auto}.tab{min-width:100%}.indicator{display:none}.pagination li.next,.pagination li.prev{width:auto}.drag-target+.drag-target{height:50%}.drag-target+.drag-target+.drag-target{top:50%}}@media only screen and (min-width:1200px) and (max-width:1650px){.row .col.l3{width:33.33333%;margin-left:0}}@media only screen and (min-width:993px) and (max-width:1200px){.row .col.l1{width:25%;margin-left:0}.row .col.l2{width:33.33333%;margin-left:0}.row .col.l3{width:41.66667%;margin-left:0}.row .col.l4{width:50%;margin-left:0}.row .col.l5{width:58.33333%;margin-left:0}.row .col.l6{width:66.66667%;margin-left:0}.row .col.l7{width:75%;margin-left:0}.row .col.l8{width:83.33333%;margin-left:0}.row .col.l9{width:91.66667%;margin-left:0}.row .col.l10{width:100%;margin-left:0}}@media only screen and (max-width:350px){.nb-results{display:none}.row .col,main ul.row{padding:0}} | 1 | .materialize-red{background-color:#e51c23!important}.materialize-red-text{color:#e51c23!important}.materialize-red.lighten-5{background-color:#fdeaeb!important}.materialize-red-text.text-lighten-5{color:#fdeaeb!important}.materialize-red.lighten-4{background-color:#f8c1c3!important}.materialize-red-text.text-lighten-4{color:#f8c1c3!important}.materialize-red.lighten-3{background-color:#f3989b!important}.materialize-red-text.text-lighten-3{color:#f3989b!important}.materialize-red.lighten-2{background-color:#ee6e73!important}.materialize-red-text.text-lighten-2{color:#ee6e73!important}.materialize-red.lighten-1{background-color:#ea454b!important}.materialize-red-text.text-lighten-1{color:#ea454b!important}.materialize-red.darken-1{background-color:#d0181e!important}.materialize-red-text.text-darken-1{color:#d0181e!important}.materialize-red.darken-2{background-color:#b9151b!important}.materialize-red-text.text-darken-2{color:#b9151b!important}.materialize-red.darken-3{background-color:#a21318!important}.materialize-red-text.text-darken-3{color:#a21318!important}.materialize-red.darken-4{background-color:#8b1014!important}.materialize-red-text.text-darken-4{color:#8b1014!important}.red{background-color:#f44336!important}.red-text{color:#f44336!important}.red.lighten-5{background-color:#ffebee!important}.red-text.text-lighten-5{color:#ffebee!important}.red.lighten-4{background-color:#ffcdd2!important}.red-text.text-lighten-4{color:#ffcdd2!important}.red.lighten-3{background-color:#ef9a9a!important}.red-text.text-lighten-3{color:#ef9a9a!important}.red.lighten-2{background-color:#e57373!important}.red-text.text-lighten-2{color:#e57373!important}.red.lighten-1{background-color:#ef5350!important}.red-text.text-lighten-1{color:#ef5350!important}.red.darken-1{background-color:#e53935!important}.red-text.text-darken-1{color:#e53935!important}.red.darken-2{background-color:#d32f2f!important}.red-text.text-darken-2{color:#d32f2f!important}.red.darken-3{background-color:#c62828!important}.red-text.text-darken-3{color:#c62828!important}.red.darken-4{background-color:#b71c1c!important}.red-text.text-darken-4{color:#b71c1c!important}.red.accent-1{background-color:#ff8a80!important}.red-text.text-accent-1{color:#ff8a80!important}.red.accent-2{background-color:#ff5252!important}.red-text.text-accent-2{color:#ff5252!important}.red.accent-3{background-color:#ff1744!important}.red-text.text-accent-3{color:#ff1744!important}.red.accent-4{background-color:#d50000!important}.red-text.text-accent-4{color:#d50000!important}.pink{background-color:#e91e63!important}.pink-text{color:#e91e63!important}.pink.lighten-5{background-color:#fce4ec!important}.pink-text.text-lighten-5{color:#fce4ec!important}.pink.lighten-4{background-color:#f8bbd0!important}.pink-text.text-lighten-4{color:#f8bbd0!important}.pink.lighten-3{background-color:#f48fb1!important}.pink-text.text-lighten-3{color:#f48fb1!important}.pink.lighten-2{background-color:#f06292!important}.pink-text.text-lighten-2{color:#f06292!important}.pink.lighten-1{background-color:#ec407a!important}.pink-text.text-lighten-1{color:#ec407a!important}.pink.darken-1{background-color:#d81b60!important}.pink-text.text-darken-1{color:#d81b60!important}.pink.darken-2{background-color:#c2185b!important}.pink-text.text-darken-2{color:#c2185b!important}.pink.darken-3{background-color:#ad1457!important}.pink-text.text-darken-3{color:#ad1457!important}.pink.darken-4{background-color:#880e4f!important}.pink-text.text-darken-4{color:#880e4f!important}.pink.accent-1{background-color:#ff80ab!important}.pink-text.text-accent-1{color:#ff80ab!important}.pink.accent-2{background-color:#ff4081!important}.pink-text.text-accent-2{color:#ff4081!important}.pink.accent-3{background-color:#f50057!important}.pink-text.text-accent-3{color:#f50057!important}.pink.accent-4{background-color:#c51162!important}.pink-text.text-accent-4{color:#c51162!important}.purple{background-color:#9c27b0!important}.purple-text{color:#9c27b0!important}.purple.lighten-5{background-color:#f3e5f5!important}.purple-text.text-lighten-5{color:#f3e5f5!important}.purple.lighten-4{background-color:#e1bee7!important}.purple-text.text-lighten-4{color:#e1bee7!important}.purple.lighten-3{background-color:#ce93d8!important}.purple-text.text-lighten-3{color:#ce93d8!important}.purple.lighten-2{background-color:#ba68c8!important}.purple-text.text-lighten-2{color:#ba68c8!important}.purple.lighten-1{background-color:#ab47bc!important}.purple-text.text-lighten-1{color:#ab47bc!important}.purple.darken-1{background-color:#8e24aa!important}.purple-text.text-darken-1{color:#8e24aa!important}.purple.darken-2{background-color:#7b1fa2!important}.purple-text.text-darken-2{color:#7b1fa2!important}.purple.darken-3{background-color:#6a1b9a!important}.purple-text.text-darken-3{color:#6a1b9a!important}.purple.darken-4{background-color:#4a148c!important}.purple-text.text-darken-4{color:#4a148c!important}.purple.accent-1{background-color:#ea80fc!important}.purple-text.text-accent-1{color:#ea80fc!important}.purple.accent-2{background-color:#e040fb!important}.purple-text.text-accent-2{color:#e040fb!important}.purple.accent-3{background-color:#d500f9!important}.purple-text.text-accent-3{color:#d500f9!important}.purple.accent-4{background-color:#a0f!important}.purple-text.text-accent-4{color:#a0f!important}.deep-purple{background-color:#673ab7!important}.deep-purple-text{color:#673ab7!important}.deep-purple.lighten-5{background-color:#ede7f6!important}.deep-purple-text.text-lighten-5{color:#ede7f6!important}.deep-purple.lighten-4{background-color:#d1c4e9!important}.deep-purple-text.text-lighten-4{color:#d1c4e9!important}.deep-purple.lighten-3{background-color:#b39ddb!important}.deep-purple-text.text-lighten-3{color:#b39ddb!important}.deep-purple.lighten-2{background-color:#9575cd!important}.deep-purple-text.text-lighten-2{color:#9575cd!important}.deep-purple.lighten-1{background-color:#7e57c2!important}.deep-purple-text.text-lighten-1{color:#7e57c2!important}.deep-purple.darken-1{background-color:#5e35b1!important}.deep-purple-text.text-darken-1{color:#5e35b1!important}.deep-purple.darken-2{background-color:#512da8!important}.deep-purple-text.text-darken-2{color:#512da8!important}.deep-purple.darken-3{background-color:#4527a0!important}.deep-purple-text.text-darken-3{color:#4527a0!important}.deep-purple.darken-4{background-color:#311b92!important}.deep-purple-text.text-darken-4{color:#311b92!important}.deep-purple.accent-1{background-color:#b388ff!important}.deep-purple-text.text-accent-1{color:#b388ff!important}.deep-purple.accent-2{background-color:#7c4dff!important}.deep-purple-text.text-accent-2{color:#7c4dff!important}.deep-purple.accent-3{background-color:#651fff!important}.deep-purple-text.text-accent-3{color:#651fff!important}.deep-purple.accent-4{background-color:#6200ea!important}.deep-purple-text.text-accent-4{color:#6200ea!important}.indigo{background-color:#3f51b5!important}.indigo-text{color:#3f51b5!important}.indigo.lighten-5{background-color:#e8eaf6!important}.indigo-text.text-lighten-5{color:#e8eaf6!important}.indigo.lighten-4{background-color:#c5cae9!important}.indigo-text.text-lighten-4{color:#c5cae9!important}.indigo.lighten-3{background-color:#9fa8da!important}.indigo-text.text-lighten-3{color:#9fa8da!important}.indigo.lighten-2{background-color:#7986cb!important}.indigo-text.text-lighten-2{color:#7986cb!important}.indigo.lighten-1{background-color:#5c6bc0!important}.indigo-text.text-lighten-1{color:#5c6bc0!important}.indigo.darken-1{background-color:#3949ab!important}.indigo-text.text-darken-1{color:#3949ab!important}.indigo.darken-2{background-color:#303f9f!important}.indigo-text.text-darken-2{color:#303f9f!important}.indigo.darken-3{background-color:#283593!important}.indigo-text.text-darken-3{color:#283593!important}.indigo.darken-4{background-color:#1a237e!important}.indigo-text.text-darken-4{color:#1a237e!important}.indigo.accent-1{background-color:#8c9eff!important}.indigo-text.text-accent-1{color:#8c9eff!important}.indigo.accent-2{background-color:#536dfe!important}.indigo-text.text-accent-2{color:#536dfe!important}.indigo.accent-3{background-color:#3d5afe!important}.indigo-text.text-accent-3{color:#3d5afe!important}.indigo.accent-4{background-color:#304ffe!important}.indigo-text.text-accent-4{color:#304ffe!important}.blue{background-color:#2196f3!important}.blue-text{color:#2196f3!important}.blue.lighten-5{background-color:#e3f2fd!important}.blue-text.text-lighten-5{color:#e3f2fd!important}.blue.lighten-4{background-color:#bbdefb!important}.blue-text.text-lighten-4{color:#bbdefb!important}.blue.lighten-3{background-color:#90caf9!important}.blue-text.text-lighten-3{color:#90caf9!important}.blue.lighten-2{background-color:#64b5f6!important}.blue-text.text-lighten-2{color:#64b5f6!important}.blue.lighten-1{background-color:#42a5f5!important}.blue-text.text-lighten-1{color:#42a5f5!important}.blue.darken-1{background-color:#1e88e5!important}.blue-text.text-darken-1{color:#1e88e5!important}.blue.darken-2{background-color:#1976d2!important}.blue-text.text-darken-2{color:#1976d2!important}.blue.darken-3{background-color:#1565c0!important}.blue-text.text-darken-3{color:#1565c0!important}.blue.darken-4{background-color:#0d47a1!important}.blue-text.text-darken-4{color:#0d47a1!important}.blue.accent-1{background-color:#82b1ff!important}.blue-text.text-accent-1{color:#82b1ff!important}.blue.accent-2{background-color:#448aff!important}.blue-text.text-accent-2{color:#448aff!important}.blue.accent-3{background-color:#2979ff!important}.blue-text.text-accent-3{color:#2979ff!important}.blue.accent-4{background-color:#2962ff!important}.blue-text.text-accent-4{color:#2962ff!important}.light-blue{background-color:#03a9f4!important}.light-blue-text{color:#03a9f4!important}.light-blue.lighten-5{background-color:#e1f5fe!important}.light-blue-text.text-lighten-5{color:#e1f5fe!important}.light-blue.lighten-4{background-color:#b3e5fc!important}.light-blue-text.text-lighten-4{color:#b3e5fc!important}.light-blue.lighten-3{background-color:#81d4fa!important}.light-blue-text.text-lighten-3{color:#81d4fa!important}.light-blue.lighten-2{background-color:#4fc3f7!important}.light-blue-text.text-lighten-2{color:#4fc3f7!important}.light-blue.lighten-1{background-color:#29b6f6!important}.light-blue-text.text-lighten-1{color:#29b6f6!important}.light-blue.darken-1{background-color:#039be5!important}.light-blue-text.text-darken-1{color:#039be5!important}.light-blue.darken-2{background-color:#0288d1!important}.light-blue-text.text-darken-2{color:#0288d1!important}.light-blue.darken-3{background-color:#0277bd!important}.light-blue-text.text-darken-3{color:#0277bd!important}.light-blue.darken-4{background-color:#01579b!important}.light-blue-text.text-darken-4{color:#01579b!important}.light-blue.accent-1{background-color:#80d8ff!important}.light-blue-text.text-accent-1{color:#80d8ff!important}.light-blue.accent-2{background-color:#40c4ff!important}.light-blue-text.text-accent-2{color:#40c4ff!important}.light-blue.accent-3{background-color:#00b0ff!important}.light-blue-text.text-accent-3{color:#00b0ff!important}.light-blue.accent-4{background-color:#0091ea!important}.light-blue-text.text-accent-4{color:#0091ea!important}.cyan{background-color:#00bcd4!important}.cyan-text{color:#00bcd4!important}.cyan.lighten-5{background-color:#e0f7fa!important}.cyan-text.text-lighten-5{color:#e0f7fa!important}.cyan.lighten-4{background-color:#b2ebf2!important}.cyan-text.text-lighten-4{color:#b2ebf2!important}.cyan.lighten-3{background-color:#80deea!important}.cyan-text.text-lighten-3{color:#80deea!important}.cyan.lighten-2{background-color:#4dd0e1!important}.cyan-text.text-lighten-2{color:#4dd0e1!important}.cyan.lighten-1{background-color:#26c6da!important}.cyan-text.text-lighten-1{color:#26c6da!important}.cyan.darken-1{background-color:#00acc1!important}.cyan-text.text-darken-1{color:#00acc1!important}.cyan.darken-2{background-color:#0097a7!important}.cyan-text.text-darken-2{color:#0097a7!important}.cyan.darken-3{background-color:#00838f!important}.cyan-text.text-darken-3{color:#00838f!important}.cyan.darken-4{background-color:#006064!important}.cyan-text.text-darken-4{color:#006064!important}.cyan.accent-1{background-color:#84ffff!important}.cyan-text.text-accent-1{color:#84ffff!important}.cyan.accent-2{background-color:#18ffff!important}.cyan-text.text-accent-2{color:#18ffff!important}.cyan.accent-3{background-color:#00e5ff!important}.cyan-text.text-accent-3{color:#00e5ff!important}.cyan.accent-4{background-color:#00b8d4!important}.cyan-text.text-accent-4{color:#00b8d4!important}.teal{background-color:#009688!important}.teal-text{color:#009688!important}.teal.lighten-5{background-color:#e0f2f1!important}.teal-text.text-lighten-5{color:#e0f2f1!important}.teal.lighten-4{background-color:#b2dfdb!important}.teal-text.text-lighten-4{color:#b2dfdb!important}.teal.lighten-3{background-color:#80cbc4!important}.teal-text.text-lighten-3{color:#80cbc4!important}.teal.lighten-2{background-color:#4db6ac!important}.teal-text.text-lighten-2{color:#4db6ac!important}.teal.lighten-1{background-color:#26a69a!important}.teal-text.text-lighten-1{color:#26a69a!important}.teal.darken-1{background-color:#00897b!important}.teal-text.text-darken-1{color:#00897b!important}.teal.darken-2{background-color:#00796b!important}.teal-text.text-darken-2{color:#00796b!important}.teal.darken-3{background-color:#00695c!important}.teal-text.text-darken-3{color:#00695c!important}.teal.darken-4{background-color:#004d40!important}.teal-text.text-darken-4{color:#004d40!important}.teal.accent-1{background-color:#a7ffeb!important}.teal-text.text-accent-1{color:#a7ffeb!important}.teal.accent-2{background-color:#64ffda!important}.teal-text.text-accent-2{color:#64ffda!important}.teal.accent-3{background-color:#1de9b6!important}.teal-text.text-accent-3{color:#1de9b6!important}.teal.accent-4{background-color:#00bfa5!important}.teal-text.text-accent-4{color:#00bfa5!important}.green{background-color:#4caf50!important}.green-text{color:#4caf50!important}.green.lighten-5{background-color:#e8f5e9!important}.green-text.text-lighten-5{color:#e8f5e9!important}.green.lighten-4{background-color:#c8e6c9!important}.green-text.text-lighten-4{color:#c8e6c9!important}.green.lighten-3{background-color:#a5d6a7!important}.green-text.text-lighten-3{color:#a5d6a7!important}.green.lighten-2{background-color:#81c784!important}.green-text.text-lighten-2{color:#81c784!important}.green.lighten-1{background-color:#66bb6a!important}.green-text.text-lighten-1{color:#66bb6a!important}.green.darken-1{background-color:#43a047!important}.green-text.text-darken-1{color:#43a047!important}.green.darken-2{background-color:#388e3c!important}.green-text.text-darken-2{color:#388e3c!important}.green.darken-3{background-color:#2e7d32!important}.green-text.text-darken-3{color:#2e7d32!important}.green.darken-4{background-color:#1b5e20!important}.green-text.text-darken-4{color:#1b5e20!important}.green.accent-1{background-color:#b9f6ca!important}.green-text.text-accent-1{color:#b9f6ca!important}.green.accent-2{background-color:#69f0ae!important}.green-text.text-accent-2{color:#69f0ae!important}.green.accent-3{background-color:#00e676!important}.green-text.text-accent-3{color:#00e676!important}.green.accent-4{background-color:#00c853!important}.green-text.text-accent-4{color:#00c853!important}.light-green{background-color:#8bc34a!important}.light-green-text{color:#8bc34a!important}.light-green.lighten-5{background-color:#f1f8e9!important}.light-green-text.text-lighten-5{color:#f1f8e9!important}.light-green.lighten-4{background-color:#dcedc8!important}.light-green-text.text-lighten-4{color:#dcedc8!important}.light-green.lighten-3{background-color:#c5e1a5!important}.light-green-text.text-lighten-3{color:#c5e1a5!important}.light-green.lighten-2{background-color:#aed581!important}.light-green-text.text-lighten-2{color:#aed581!important}.light-green.lighten-1{background-color:#9ccc65!important}.light-green-text.text-lighten-1{color:#9ccc65!important}.light-green.darken-1{background-color:#7cb342!important}.light-green-text.text-darken-1{color:#7cb342!important}.light-green.darken-2{background-color:#689f38!important}.light-green-text.text-darken-2{color:#689f38!important}.light-green.darken-3{background-color:#558b2f!important}.light-green-text.text-darken-3{color:#558b2f!important}.light-green.darken-4{background-color:#33691e!important}.light-green-text.text-darken-4{color:#33691e!important}.light-green.accent-1{background-color:#ccff90!important}.light-green-text.text-accent-1{color:#ccff90!important}.light-green.accent-2{background-color:#b2ff59!important}.light-green-text.text-accent-2{color:#b2ff59!important}.light-green.accent-3{background-color:#76ff03!important}.light-green-text.text-accent-3{color:#76ff03!important}.light-green.accent-4{background-color:#64dd17!important}.light-green-text.text-accent-4{color:#64dd17!important}.lime{background-color:#cddc39!important}.lime-text{color:#cddc39!important}.lime.lighten-5{background-color:#f9fbe7!important}.lime-text.text-lighten-5{color:#f9fbe7!important}.lime.lighten-4{background-color:#f0f4c3!important}.lime-text.text-lighten-4{color:#f0f4c3!important}.lime.lighten-3{background-color:#e6ee9c!important}.lime-text.text-lighten-3{color:#e6ee9c!important}.lime.lighten-2{background-color:#dce775!important}.lime-text.text-lighten-2{color:#dce775!important}.lime.lighten-1{background-color:#d4e157!important}.lime-text.text-lighten-1{color:#d4e157!important}.lime.darken-1{background-color:#c0ca33!important}.lime-text.text-darken-1{color:#c0ca33!important}.lime.darken-2{background-color:#afb42b!important}.lime-text.text-darken-2{color:#afb42b!important}.lime.darken-3{background-color:#9e9d24!important}.lime-text.text-darken-3{color:#9e9d24!important}.lime.darken-4{background-color:#827717!important}.lime-text.text-darken-4{color:#827717!important}.lime.accent-1{background-color:#f4ff81!important}.lime-text.text-accent-1{color:#f4ff81!important}.lime.accent-2{background-color:#eeff41!important}.lime-text.text-accent-2{color:#eeff41!important}.lime.accent-3{background-color:#c6ff00!important}.lime-text.text-accent-3{color:#c6ff00!important}.lime.accent-4{background-color:#aeea00!important}.lime-text.text-accent-4{color:#aeea00!important}.yellow{background-color:#ffeb3b!important}.yellow-text{color:#ffeb3b!important}.yellow.lighten-5{background-color:#fffde7!important}.yellow-text.text-lighten-5{color:#fffde7!important}.yellow.lighten-4{background-color:#fff9c4!important}.yellow-text.text-lighten-4{color:#fff9c4!important}.yellow.lighten-3{background-color:#fff59d!important}.yellow-text.text-lighten-3{color:#fff59d!important}.yellow.lighten-2{background-color:#fff176!important}.yellow-text.text-lighten-2{color:#fff176!important}.yellow.lighten-1{background-color:#ffee58!important}.yellow-text.text-lighten-1{color:#ffee58!important}.yellow.darken-1{background-color:#fdd835!important}.yellow-text.text-darken-1{color:#fdd835!important}.yellow.darken-2{background-color:#fbc02d!important}.yellow-text.text-darken-2{color:#fbc02d!important}.yellow.darken-3{background-color:#f9a825!important}.yellow-text.text-darken-3{color:#f9a825!important}.yellow.darken-4{background-color:#f57f17!important}.yellow-text.text-darken-4{color:#f57f17!important}.yellow.accent-1{background-color:#ffff8d!important}.yellow-text.text-accent-1{color:#ffff8d!important}.yellow.accent-2{background-color:#ff0!important}.yellow-text.text-accent-2{color:#ff0!important}.yellow.accent-3{background-color:#ffea00!important}.yellow-text.text-accent-3{color:#ffea00!important}.yellow.accent-4{background-color:#ffd600!important}.yellow-text.text-accent-4{color:#ffd600!important}.amber{background-color:#ffc107!important}.amber-text{color:#ffc107!important}.amber.lighten-5{background-color:#fff8e1!important}.amber-text.text-lighten-5{color:#fff8e1!important}.amber.lighten-4{background-color:#ffecb3!important}.amber-text.text-lighten-4{color:#ffecb3!important}.amber.lighten-3{background-color:#ffe082!important}.amber-text.text-lighten-3{color:#ffe082!important}.amber.lighten-2{background-color:#ffd54f!important}.amber-text.text-lighten-2{color:#ffd54f!important}.amber.lighten-1{background-color:#ffca28!important}.amber-text.text-lighten-1{color:#ffca28!important}.amber.darken-1{background-color:#ffb300!important}.amber-text.text-darken-1{color:#ffb300!important}.amber.darken-2{background-color:#ffa000!important}.amber-text.text-darken-2{color:#ffa000!important}.amber.darken-3{background-color:#ff8f00!important}.amber-text.text-darken-3{color:#ff8f00!important}.amber.darken-4{background-color:#ff6f00!important}.amber-text.text-darken-4{color:#ff6f00!important}.amber.accent-1{background-color:#ffe57f!important}.amber-text.text-accent-1{color:#ffe57f!important}.amber.accent-2{background-color:#ffd740!important}.amber-text.text-accent-2{color:#ffd740!important}.amber.accent-3{background-color:#ffc400!important}.amber-text.text-accent-3{color:#ffc400!important}.amber.accent-4{background-color:#ffab00!important}.amber-text.text-accent-4{color:#ffab00!important}.orange{background-color:#ff9800!important}.orange-text{color:#ff9800!important}.orange.lighten-5{background-color:#fff3e0!important}.orange-text.text-lighten-5{color:#fff3e0!important}.orange.lighten-4{background-color:#ffe0b2!important}.orange-text.text-lighten-4{color:#ffe0b2!important}.orange.lighten-3{background-color:#ffcc80!important}.orange-text.text-lighten-3{color:#ffcc80!important}.orange.lighten-2{background-color:#ffb74d!important}.orange-text.text-lighten-2{color:#ffb74d!important}.orange.lighten-1{background-color:#ffa726!important}.orange-text.text-lighten-1{color:#ffa726!important}.orange.darken-1{background-color:#fb8c00!important}.orange-text.text-darken-1{color:#fb8c00!important}.orange.darken-2{background-color:#f57c00!important}.orange-text.text-darken-2{color:#f57c00!important}.orange.darken-3{background-color:#ef6c00!important}.orange-text.text-darken-3{color:#ef6c00!important}.orange.darken-4{background-color:#e65100!important}.orange-text.text-darken-4{color:#e65100!important}.orange.accent-1{background-color:#ffd180!important}.orange-text.text-accent-1{color:#ffd180!important}.orange.accent-2{background-color:#ffab40!important}.orange-text.text-accent-2{color:#ffab40!important}.orange.accent-3{background-color:#ff9100!important}.orange-text.text-accent-3{color:#ff9100!important}.orange.accent-4{background-color:#ff6d00!important}.orange-text.text-accent-4{color:#ff6d00!important}.deep-orange{background-color:#ff5722!important}.deep-orange-text{color:#ff5722!important}.deep-orange.lighten-5{background-color:#fbe9e7!important}.deep-orange-text.text-lighten-5{color:#fbe9e7!important}.deep-orange.lighten-4{background-color:#ffccbc!important}.deep-orange-text.text-lighten-4{color:#ffccbc!important}.deep-orange.lighten-3{background-color:#ffab91!important}.deep-orange-text.text-lighten-3{color:#ffab91!important}.deep-orange.lighten-2{background-color:#ff8a65!important}.deep-orange-text.text-lighten-2{color:#ff8a65!important}.deep-orange.lighten-1{background-color:#ff7043!important}.deep-orange-text.text-lighten-1{color:#ff7043!important}.deep-orange.darken-1{background-color:#f4511e!important}.deep-orange-text.text-darken-1{color:#f4511e!important}.deep-orange.darken-2{background-color:#e64a19!important}.deep-orange-text.text-darken-2{color:#e64a19!important}.deep-orange.darken-3{background-color:#d84315!important}.deep-orange-text.text-darken-3{color:#d84315!important}.deep-orange.darken-4{background-color:#bf360c!important}.deep-orange-text.text-darken-4{color:#bf360c!important}.deep-orange.accent-1{background-color:#ff9e80!important}.deep-orange-text.text-accent-1{color:#ff9e80!important}.deep-orange.accent-2{background-color:#ff6e40!important}.deep-orange-text.text-accent-2{color:#ff6e40!important}.deep-orange.accent-3{background-color:#ff3d00!important}.deep-orange-text.text-accent-3{color:#ff3d00!important}.deep-orange.accent-4{background-color:#dd2c00!important}.deep-orange-text.text-accent-4{color:#dd2c00!important}.brown{background-color:#795548!important}.brown-text{color:#795548!important}.brown.lighten-5{background-color:#efebe9!important}.brown-text.text-lighten-5{color:#efebe9!important}.brown.lighten-4{background-color:#d7ccc8!important}.brown-text.text-lighten-4{color:#d7ccc8!important}.brown.lighten-3{background-color:#bcaaa4!important}.brown-text.text-lighten-3{color:#bcaaa4!important}.brown.lighten-2{background-color:#a1887f!important}.brown-text.text-lighten-2{color:#a1887f!important}.brown.lighten-1{background-color:#8d6e63!important}.brown-text.text-lighten-1{color:#8d6e63!important}.brown.darken-1{background-color:#6d4c41!important}.brown-text.text-darken-1{color:#6d4c41!important}.brown.darken-2{background-color:#5d4037!important}.brown-text.text-darken-2{color:#5d4037!important}.brown.darken-3{background-color:#4e342e!important}.brown-text.text-darken-3{color:#4e342e!important}.brown.darken-4{background-color:#3e2723!important}.brown-text.text-darken-4{color:#3e2723!important}.blue-grey{background-color:#607d8b!important}.blue-grey-text{color:#607d8b!important}.blue-grey.lighten-5{background-color:#eceff1!important}.blue-grey-text.text-lighten-5{color:#eceff1!important}.blue-grey.lighten-4{background-color:#cfd8dc!important}.blue-grey-text.text-lighten-4{color:#cfd8dc!important}.blue-grey.lighten-3{background-color:#b0bec5!important}.blue-grey-text.text-lighten-3{color:#b0bec5!important}.blue-grey.lighten-2{background-color:#90a4ae!important}.blue-grey-text.text-lighten-2{color:#90a4ae!important}.blue-grey.lighten-1{background-color:#78909c!important}.blue-grey-text.text-lighten-1{color:#78909c!important}.blue-grey.darken-1{background-color:#546e7a!important}.blue-grey-text.text-darken-1{color:#546e7a!important}.blue-grey.darken-2{background-color:#455a64!important}.blue-grey-text.text-darken-2{color:#455a64!important}.blue-grey.darken-3{background-color:#37474f!important}.blue-grey-text.text-darken-3{color:#37474f!important}.blue-grey.darken-4{background-color:#263238!important}.blue-grey-text.text-darken-4{color:#263238!important}.grey{background-color:#9e9e9e!important}.grey-text{color:#9e9e9e!important}.grey.lighten-5{background-color:#fafafa!important}.grey-text.text-lighten-5{color:#fafafa!important}.grey.lighten-4{background-color:#f5f5f5!important}.grey-text.text-lighten-4{color:#f5f5f5!important}.grey.lighten-3{background-color:#eee!important}.grey-text.text-lighten-3{color:#eee!important}.grey.lighten-2{background-color:#e0e0e0!important}.grey-text.text-lighten-2{color:#e0e0e0!important}.grey.lighten-1{background-color:#bdbdbd!important}.grey-text.text-lighten-1{color:#bdbdbd!important}.grey.darken-1{background-color:#757575!important}.grey-text.text-darken-1{color:#757575!important}.grey.darken-2{background-color:#616161!important}.grey-text.text-darken-2{color:#616161!important}.grey.darken-3{background-color:#424242!important}.grey-text.text-darken-3{color:#424242!important}.grey.darken-4{background-color:#212121!important}.grey-text.text-darken-4{color:#212121!important}.black{background-color:#000!important}.black-text{color:#000!important}.white{background-color:#fff!important}.white-text{color:#fff!important}.transparent{background-color:transparent!important}.transparent-text{color:transparent!important}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}html{box-sizing:border-box}*,:after,:before{box-sizing:inherit}ul:not(.browser-default){padding-left:0;list-style-type:none}ul:not(.browser-default) li{list-style-type:none}a{color:#039be5;-webkit-tap-highlight-color:transparent}.valign-wrapper{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.clearfix{clear:both}.z-depth-0{box-shadow:none!important}.btn,.btn-floating,.btn-large,.card,.card-panel,.collapsible,.dropdown-content,.side-nav,.toast,.z-depth-1,nav{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2)}.btn-floating:hover,.btn-large:hover,.btn:hover,.z-depth-1-half{box-shadow:0 3px 3px 0 rgba(0,0,0,.14),0 1px 7px 0 rgba(0,0,0,.12),0 3px 1px -1px rgba(0,0,0,.2)}.z-depth-2{box-shadow:0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12),0 2px 4px -1px rgba(0,0,0,.3)}.z-depth-3{box-shadow:0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12),0 3px 5px -1px rgba(0,0,0,.3)}.modal,.z-depth-4{box-shadow:0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12),0 5px 5px -3px rgba(0,0,0,.3)}.z-depth-5{box-shadow:0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.3)}.hoverable{transition:box-shadow .25s;box-shadow:0}.hoverable:hover{transition:box-shadow .25s;box-shadow:0 8px 17px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}.divider{height:1px;overflow:hidden;background-color:#e0e0e0}blockquote{margin:20px 0;padding-left:1.5rem;border-left:5px solid #ee6e73}i{line-height:inherit}i.left{float:left;margin-right:15px}i.right{float:right;margin-left:15px}i.tiny{font-size:1rem}i.small{font-size:2rem}i.medium{font-size:4rem}i.large{font-size:6rem}img.responsive-img,video.responsive-video{max-width:100%;height:auto}.pagination li{display:inline-block;border-radius:2px;text-align:center;vertical-align:top;height:30px}.pagination li a{color:#444;display:inline-block;font-size:1.2rem;padding:0 10px;line-height:30px}.pagination li.active a{color:#fff}.pagination li.active{background-color:#ee6e73}.pagination li.disabled a{cursor:default;color:#999}.pagination li i{font-size:2rem}.pagination li.pages ul li{display:inline-block;float:none}@media only screen and (max-width:992px){.pagination{width:100%}.pagination li.next,.pagination li.prev{width:10%}.pagination li.pages{width:80%;overflow:hidden;white-space:nowrap}}.breadcrumb{font-size:18px;color:hsla(0,0%,100%,.7)}.breadcrumb [class*=mdi-],.breadcrumb [class^=mdi-],.breadcrumb i,.breadcrumb i.material-icons{display:inline-block;float:left;font-size:24px}.breadcrumb:before{content:"\E5CC";color:hsla(0,0%,100%,.7);vertical-align:top;display:inline-block;font-family:Material Icons;font-weight:400;font-style:normal;font-size:25px;margin:0 10px 0 8px;-webkit-font-smoothing:antialiased}.breadcrumb:first-child:before{display:none}.breadcrumb:last-child{color:#fff}.parallax-container{position:relative;overflow:hidden;height:500px}.parallax{top:0;left:0;right:0;z-index:-1}.parallax,.parallax img{position:absolute;bottom:0}.parallax img{display:none;left:50%;min-width:100%;min-height:100%;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-transform:translateX(-50%);transform:translateX(-50%)}.pin-bottom,.pin-top{position:relative}.pinned{position:fixed!important}.fade-in,ul.staggered-list li{opacity:0}.fade-in{-webkit-transform-origin:0 50%;transform-origin:0 50%}@media only screen and (max-width:600px){.hide-on-small-and-down,.hide-on-small-only{display:none!important}}@media only screen and (max-width:992px){.hide-on-med-and-down{display:none!important}}@media only screen and (min-width:601px){.hide-on-med-and-up{display:none!important}}@media only screen and (min-width:600px) and (max-width:992px){.hide-on-med-only{display:none!important}}@media only screen and (min-width:993px){.hide-on-large-only{display:none!important}}@media only screen and (min-width:993px){.show-on-large{display:block!important}}@media only screen and (min-width:600px) and (max-width:992px){.show-on-medium{display:block!important}}@media only screen and (max-width:600px){.show-on-small{display:block!important}}@media only screen and (min-width:601px){.show-on-medium-and-up{display:block!important}}@media only screen and (max-width:992px){.show-on-medium-and-down{display:block!important}}@media only screen and (max-width:600px){.center-on-small-only{text-align:center}}.page-footer{padding-top:20px;background-color:#ee6e73}.page-footer .footer-copyright{overflow:hidden;min-height:50px;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:10px 0;color:hsla(0,0%,100%,.8);background-color:rgba(51,51,51,.08)}table,td,th{border:none}table{width:100%;display:table}table.bordered>tbody>tr,table.bordered>thead>tr{border-bottom:1px solid #d0d0d0}table.striped>tbody>tr:nth-child(odd){background-color:#f2f2f2}table.striped>tbody>tr>td{border-radius:0}table.highlight>tbody>tr{transition:background-color .25s ease}table.highlight>tbody>tr:hover{background-color:#f2f2f2}table.centered tbody tr td,table.centered thead tr th{text-align:center}thead{border-bottom:1px solid #d0d0d0}td,th{padding:15px 5px;display:table-cell;text-align:left;vertical-align:middle;border-radius:2px}@media only screen and (max-width:992px){table.responsive-table{width:100%;border-collapse:collapse;border-spacing:0;display:block;position:relative}table.responsive-table td:empty:before{content:"\A0"}table.responsive-table td,table.responsive-table th{margin:0;vertical-align:top}table.responsive-table th{text-align:left}table.responsive-table thead{display:block;float:left}table.responsive-table thead tr{display:block;padding:0 10px 0 0}table.responsive-table thead tr th:before{content:"\A0"}table.responsive-table tbody{display:block;width:auto;position:relative;overflow-x:auto;white-space:nowrap}table.responsive-table tbody tr{display:inline-block;vertical-align:top}table.responsive-table th{display:block;text-align:right}table.responsive-table td{display:block;min-height:1.25em;text-align:left}table.responsive-table tr{padding:0 10px}table.responsive-table thead{border:0;border-right:1px solid #d0d0d0}table.responsive-table.bordered th{border-bottom:0;border-left:0}table.responsive-table.bordered td{border-left:0;border-right:0;border-bottom:0}table.responsive-table.bordered tr{border:0}table.responsive-table.bordered tbody tr{border-right:1px solid #d0d0d0}}.collection{margin:.5rem 0 1rem;border:1px solid #e0e0e0;border-radius:2px;overflow:hidden;position:relative}.collection .collection-item{background-color:#fff;line-height:1.5rem;padding:10px 20px;margin:0;border-bottom:1px solid #e0e0e0}.collection .collection-item.avatar{min-height:84px;padding-left:72px;position:relative}.collection .collection-item.avatar .circle{position:absolute;width:42px;height:42px;overflow:hidden;left:15px;display:inline-block;vertical-align:middle}.collection .collection-item.avatar i.circle{font-size:18px;line-height:42px;color:#fff;background-color:#999;text-align:center}.collection .collection-item.avatar .title{font-size:16px}.collection .collection-item.avatar p{margin:0}.collection .collection-item.avatar .secondary-content{position:absolute;top:16px;right:16px}.collection .collection-item:last-child{border-bottom:none}.collection .collection-item.active{background-color:#26a69a;color:#eafaf9}.collection .collection-item.active .secondary-content{color:#fff}.collection a.collection-item{display:block;transition:.25s;color:#26a69a}.collection a.collection-item:not(.active):hover{background-color:#ddd}.collection.with-header .collection-header{background-color:#fff;border-bottom:1px solid #e0e0e0;padding:10px 20px}.collection.with-header .collection-item{padding-left:30px}.collection.with-header .collection-item.avatar{padding-left:72px}.secondary-content{float:right;color:#26a69a}.collapsible .collection{margin:0;border:none}.video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.video-container embed,.video-container iframe,.video-container object{position:absolute;top:0;left:0;width:100%;height:100%}.progress{position:relative;height:4px;display:block;width:100%;background-color:#acece6;border-radius:2px;margin:.5rem 0 1rem;overflow:hidden}.progress .determinate{position:absolute;top:0;left:0;bottom:0;transition:width .3s linear}.progress .determinate,.progress .indeterminate{background-color:#26a69a}.progress .indeterminate:before{-webkit-animation:indeterminate 2.1s cubic-bezier(.65,.815,.735,.395) infinite;animation:indeterminate 2.1s cubic-bezier(.65,.815,.735,.395) infinite}.progress .indeterminate:after,.progress .indeterminate:before{content:"";position:absolute;background-color:inherit;top:0;left:0;bottom:0;will-change:left,right}.progress .indeterminate:after{-webkit-animation:indeterminate-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation:indeterminate-short 2.1s cubic-bezier(.165,.84,.44,1) infinite;-webkit-animation-delay:1.15s;animation-delay:1.15s}@-webkit-keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes indeterminate{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes indeterminate-short{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}.hide{display:none!important}.left-align{text-align:left}.right-align{text-align:right}.center,.center-align{text-align:center}.left{float:left!important}.right{float:right!important}.no-select,input[type=range],input[type=range]+.thumb{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.circle{border-radius:50%}.center-block{display:block;margin-left:auto;margin-right:auto}.truncate{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.no-padding{padding:0!important}span.badge{min-width:3rem;padding:0 6px;margin-left:14px;text-align:center;font-size:1rem;line-height:22px;height:22px;color:#757575;float:right;box-sizing:border-box}span.badge.new{font-weight:300;font-size:.8rem;color:#fff;background-color:#26a69a;border-radius:2px}span.badge.new:after{content:" new"}span.badge[data-badge-caption]:after{content:" " attr(data-badge-caption)}nav ul a span.badge{display:inline-block;float:none;margin-left:4px;line-height:22px;height:22px}.collection-item span.badge{margin-top:calc(.75rem - 11px)}.collapsible span.badge{margin-top:calc(1.5rem - 11px)}.side-nav span.badge{margin-top:13px}.material-icons{text-rendering:optimizeLegibility;-webkit-font-feature-settings:"liga";-moz-font-feature-settings:"liga";font-feature-settings:"liga"}.container{margin:0 auto;max-width:1280px;width:90%}@media only screen and (min-width:601px){.container{width:85%}}@media only screen and (min-width:993px){.container{width:70%}}.container .row{margin-left:-.75rem;margin-right:-.75rem}.section{padding-top:1rem;padding-bottom:1rem}.section.no-pad{padding:0}.section.no-pad-bot{padding-bottom:0}.section.no-pad-top{padding-top:0}.row{margin-left:auto;margin-right:auto;margin-bottom:20px}.row:after{content:"";display:table;clear:both}.row .col{float:left;box-sizing:border-box;padding:0 .75rem;min-height:1px}.row .col[class*=pull-],.row .col[class*=push-]{position:relative}.row .col.s1{width:8.3333333333%}.row .col.s1,.row .col.s2{margin-left:auto;left:auto;right:auto}.row .col.s2{width:16.6666666667%}.row .col.s3{width:25%}.row .col.s3,.row .col.s4{margin-left:auto;left:auto;right:auto}.row .col.s4{width:33.3333333333%}.row .col.s5{width:41.6666666667%}.row .col.s5,.row .col.s6{margin-left:auto;left:auto;right:auto}.row .col.s6{width:50%}.row .col.s7{width:58.3333333333%}.row .col.s7,.row .col.s8{margin-left:auto;left:auto;right:auto}.row .col.s8{width:66.6666666667%}.row .col.s9{width:75%}.row .col.s9,.row .col.s10{margin-left:auto;left:auto;right:auto}.row .col.s10{width:83.3333333333%}.row .col.s11{width:91.6666666667%}.row .col.s11,.row .col.s12{margin-left:auto;left:auto;right:auto}.row .col.s12{width:100%}.row .col.offset-s1{margin-left:8.3333333333%}.row .col.pull-s1{right:8.3333333333%}.row .col.push-s1{left:8.3333333333%}.row .col.offset-s2{margin-left:16.6666666667%}.row .col.pull-s2{right:16.6666666667%}.row .col.push-s2{left:16.6666666667%}.row .col.offset-s3{margin-left:25%}.row .col.pull-s3{right:25%}.row .col.push-s3{left:25%}.row .col.offset-s4{margin-left:33.3333333333%}.row .col.pull-s4{right:33.3333333333%}.row .col.push-s4{left:33.3333333333%}.row .col.offset-s5{margin-left:41.6666666667%}.row .col.pull-s5{right:41.6666666667%}.row .col.push-s5{left:41.6666666667%}.row .col.offset-s6{margin-left:50%}.row .col.pull-s6{right:50%}.row .col.push-s6{left:50%}.row .col.offset-s7{margin-left:58.3333333333%}.row .col.pull-s7{right:58.3333333333%}.row .col.push-s7{left:58.3333333333%}.row .col.offset-s8{margin-left:66.6666666667%}.row .col.pull-s8{right:66.6666666667%}.row .col.push-s8{left:66.6666666667%}.row .col.offset-s9{margin-left:75%}.row .col.pull-s9{right:75%}.row .col.push-s9{left:75%}.row .col.offset-s10{margin-left:83.3333333333%}.row .col.pull-s10{right:83.3333333333%}.row .col.push-s10{left:83.3333333333%}.row .col.offset-s11{margin-left:91.6666666667%}.row .col.pull-s11{right:91.6666666667%}.row .col.push-s11{left:91.6666666667%}.row .col.offset-s12{margin-left:100%}.row .col.pull-s12{right:100%}.row .col.push-s12{left:100%}@media only screen and (min-width:601px){.row .col.m1{width:8.3333333333%}.row .col.m1,.row .col.m2{margin-left:auto;left:auto;right:auto}.row .col.m2{width:16.6666666667%}.row .col.m3{width:25%}.row .col.m3,.row .col.m4{margin-left:auto;left:auto;right:auto}.row .col.m4{width:33.3333333333%}.row .col.m5{width:41.6666666667%}.row .col.m5,.row .col.m6{margin-left:auto;left:auto;right:auto}.row .col.m6{width:50%}.row .col.m7{width:58.3333333333%}.row .col.m7,.row .col.m8{margin-left:auto;left:auto;right:auto}.row .col.m8{width:66.6666666667%}.row .col.m9{width:75%}.row .col.m9,.row .col.m10{margin-left:auto;left:auto;right:auto}.row .col.m10{width:83.3333333333%}.row .col.m11{width:91.6666666667%}.row .col.m11,.row .col.m12{margin-left:auto;left:auto;right:auto}.row .col.m12{width:100%}.row .col.offset-m1{margin-left:8.3333333333%}.row .col.pull-m1{right:8.3333333333%}.row .col.push-m1{left:8.3333333333%}.row .col.offset-m2{margin-left:16.6666666667%}.row .col.pull-m2{right:16.6666666667%}.row .col.push-m2{left:16.6666666667%}.row .col.offset-m3{margin-left:25%}.row .col.pull-m3{right:25%}.row .col.push-m3{left:25%}.row .col.offset-m4{margin-left:33.3333333333%}.row .col.pull-m4{right:33.3333333333%}.row .col.push-m4{left:33.3333333333%}.row .col.offset-m5{margin-left:41.6666666667%}.row .col.pull-m5{right:41.6666666667%}.row .col.push-m5{left:41.6666666667%}.row .col.offset-m6{margin-left:50%}.row .col.pull-m6{right:50%}.row .col.push-m6{left:50%}.row .col.offset-m7{margin-left:58.3333333333%}.row .col.pull-m7{right:58.3333333333%}.row .col.push-m7{left:58.3333333333%}.row .col.offset-m8{margin-left:66.6666666667%}.row .col.pull-m8{right:66.6666666667%}.row .col.push-m8{left:66.6666666667%}.row .col.offset-m9{margin-left:75%}.row .col.pull-m9{right:75%}.row .col.push-m9{left:75%}.row .col.offset-m10{margin-left:83.3333333333%}.row .col.pull-m10{right:83.3333333333%}.row .col.push-m10{left:83.3333333333%}.row .col.offset-m11{margin-left:91.6666666667%}.row .col.pull-m11{right:91.6666666667%}.row .col.push-m11{left:91.6666666667%}.row .col.offset-m12{margin-left:100%}.row .col.pull-m12{right:100%}.row .col.push-m12{left:100%}}@media only screen and (min-width:993px){.row .col.l1{width:8.3333333333%}.row .col.l1,.row .col.l2{margin-left:auto;left:auto;right:auto}.row .col.l2{width:16.6666666667%}.row .col.l3{width:25%}.row .col.l3,.row .col.l4{margin-left:auto;left:auto;right:auto}.row .col.l4{width:33.3333333333%}.row .col.l5{width:41.6666666667%}.row .col.l5,.row .col.l6{margin-left:auto;left:auto;right:auto}.row .col.l6{width:50%}.row .col.l7{width:58.3333333333%}.row .col.l7,.row .col.l8{margin-left:auto;left:auto;right:auto}.row .col.l8{width:66.6666666667%}.row .col.l9{width:75%}.row .col.l9,.row .col.l10{margin-left:auto;left:auto;right:auto}.row .col.l10{width:83.3333333333%}.row .col.l11{width:91.6666666667%}.row .col.l11,.row .col.l12{margin-left:auto;left:auto;right:auto}.row .col.l12{width:100%}.row .col.offset-l1{margin-left:8.3333333333%}.row .col.pull-l1{right:8.3333333333%}.row .col.push-l1{left:8.3333333333%}.row .col.offset-l2{margin-left:16.6666666667%}.row .col.pull-l2{right:16.6666666667%}.row .col.push-l2{left:16.6666666667%}.row .col.offset-l3{margin-left:25%}.row .col.pull-l3{right:25%}.row .col.push-l3{left:25%}.row .col.offset-l4{margin-left:33.3333333333%}.row .col.pull-l4{right:33.3333333333%}.row .col.push-l4{left:33.3333333333%}.row .col.offset-l5{margin-left:41.6666666667%}.row .col.pull-l5{right:41.6666666667%}.row .col.push-l5{left:41.6666666667%}.row .col.offset-l6{margin-left:50%}.row .col.pull-l6{right:50%}.row .col.push-l6{left:50%}.row .col.offset-l7{margin-left:58.3333333333%}.row .col.pull-l7{right:58.3333333333%}.row .col.push-l7{left:58.3333333333%}.row .col.offset-l8{margin-left:66.6666666667%}.row .col.pull-l8{right:66.6666666667%}.row .col.push-l8{left:66.6666666667%}.row .col.offset-l9{margin-left:75%}.row .col.pull-l9{right:75%}.row .col.push-l9{left:75%}.row .col.offset-l10{margin-left:83.3333333333%}.row .col.pull-l10{right:83.3333333333%}.row .col.push-l10{left:83.3333333333%}.row .col.offset-l11{margin-left:91.6666666667%}.row .col.pull-l11{right:91.6666666667%}.row .col.push-l11{left:91.6666666667%}.row .col.offset-l12{margin-left:100%}.row .col.pull-l12{right:100%}.row .col.push-l12{left:100%}}@media only screen and (min-width:1201px){.row .col.xl1{width:8.3333333333%}.row .col.xl1,.row .col.xl2{margin-left:auto;left:auto;right:auto}.row .col.xl2{width:16.6666666667%}.row .col.xl3{width:25%}.row .col.xl3,.row .col.xl4{margin-left:auto;left:auto;right:auto}.row .col.xl4{width:33.3333333333%}.row .col.xl5{width:41.6666666667%}.row .col.xl5,.row .col.xl6{margin-left:auto;left:auto;right:auto}.row .col.xl6{width:50%}.row .col.xl7{width:58.3333333333%}.row .col.xl7,.row .col.xl8{margin-left:auto;left:auto;right:auto}.row .col.xl8{width:66.6666666667%}.row .col.xl9{width:75%}.row .col.xl9,.row .col.xl10{margin-left:auto;left:auto;right:auto}.row .col.xl10{width:83.3333333333%}.row .col.xl11{width:91.6666666667%}.row .col.xl11,.row .col.xl12{margin-left:auto;left:auto;right:auto}.row .col.xl12{width:100%}.row .col.offset-xl1{margin-left:8.3333333333%}.row .col.pull-xl1{right:8.3333333333%}.row .col.push-xl1{left:8.3333333333%}.row .col.offset-xl2{margin-left:16.6666666667%}.row .col.pull-xl2{right:16.6666666667%}.row .col.push-xl2{left:16.6666666667%}.row .col.offset-xl3{margin-left:25%}.row .col.pull-xl3{right:25%}.row .col.push-xl3{left:25%}.row .col.offset-xl4{margin-left:33.3333333333%}.row .col.pull-xl4{right:33.3333333333%}.row .col.push-xl4{left:33.3333333333%}.row .col.offset-xl5{margin-left:41.6666666667%}.row .col.pull-xl5{right:41.6666666667%}.row .col.push-xl5{left:41.6666666667%}.row .col.offset-xl6{margin-left:50%}.row .col.pull-xl6{right:50%}.row .col.push-xl6{left:50%}.row .col.offset-xl7{margin-left:58.3333333333%}.row .col.pull-xl7{right:58.3333333333%}.row .col.push-xl7{left:58.3333333333%}.row .col.offset-xl8{margin-left:66.6666666667%}.row .col.pull-xl8{right:66.6666666667%}.row .col.push-xl8{left:66.6666666667%}.row .col.offset-xl9{margin-left:75%}.row .col.pull-xl9{right:75%}.row .col.push-xl9{left:75%}.row .col.offset-xl10{margin-left:83.3333333333%}.row .col.pull-xl10{right:83.3333333333%}.row .col.push-xl10{left:83.3333333333%}.row .col.offset-xl11{margin-left:91.6666666667%}.row .col.pull-xl11{right:91.6666666667%}.row .col.push-xl11{left:91.6666666667%}.row .col.offset-xl12{margin-left:100%}.row .col.pull-xl12{right:100%}.row .col.push-xl12{left:100%}}nav{color:#fff;background-color:#ee6e73;width:100%;height:56px;line-height:56px}nav.nav-extended{height:auto}nav.nav-extended .nav-wrapper{min-height:56px;height:auto}nav.nav-extended .nav-content{position:relative;line-height:normal}nav a{color:#fff}nav [class*=mdi-],nav [class^=mdi-],nav i,nav i.material-icons{display:block;font-size:24px;height:56px;line-height:56px}nav .nav-wrapper{position:relative;height:100%}@media only screen and (min-width:993px){nav a.button-collapse{display:none}}nav .button-collapse{float:left;position:relative;z-index:1;height:56px;margin:0 18px}nav .button-collapse i{height:56px;line-height:56px}nav .brand-logo{position:absolute;color:#fff;display:inline-block;font-size:2.1rem;padding:0;white-space:nowrap}nav .brand-logo.center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}@media only screen and (max-width:992px){nav .brand-logo{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}nav .brand-logo.left,nav .brand-logo.right{padding:0;-webkit-transform:none;transform:none}nav .brand-logo.left{left:.5rem}nav .brand-logo.right{right:.5rem;left:auto}}nav .brand-logo.right{right:.5rem;padding:0}nav .brand-logo [class*=mdi-],nav .brand-logo [class^=mdi-],nav .brand-logo i,nav .brand-logo i.material-icons{float:left;margin-right:15px}nav .nav-title{display:inline-block;font-size:32px;padding:28px 0}nav ul{margin:0}nav ul li{transition:background-color .3s;float:left;padding:0}nav ul li.active{background-color:rgba(0,0,0,.1)}nav ul a{transition:background-color .3s;font-size:1rem;color:#fff;display:block;padding:0 15px;cursor:pointer}nav ul a.btn,nav ul a.btn-flat,nav ul a.btn-floating,nav ul a.btn-large{margin-top:-2px;margin-left:15px;margin-right:15px}nav ul a.btn-flat>.material-icons,nav ul a.btn-floating>.material-icons,nav ul a.btn-large>.material-icons,nav ul a.btn>.material-icons{height:inherit;line-height:inherit}nav ul a:hover{background-color:rgba(0,0,0,.1)}nav ul.left{float:left}nav form{height:100%}nav .input-field{margin:0;height:100%}nav .input-field input{height:100%;font-size:1.2rem;border:none;padding-left:2rem}nav .input-field input:focus,nav .input-field input[type=date]:valid,nav .input-field input[type=email]:valid,nav .input-field input[type=password]:valid,nav .input-field input[type=text]:valid,nav .input-field input[type=url]:valid{border:none;box-shadow:none}nav .input-field label{top:0;left:0}nav .input-field label i{color:hsla(0,0%,100%,.7);transition:color .3s}nav .input-field label.active i{color:#fff}.navbar-fixed{position:relative;height:56px;z-index:997}.navbar-fixed nav{position:fixed}@media only screen and (min-width:601px){nav.nav-extended .nav-wrapper{min-height:64px}nav,nav .nav-wrapper i,nav a.button-collapse,nav a.button-collapse i{height:64px;line-height:64px}.navbar-fixed{height:64px}}@font-face{font-family:Roboto;src:local(Roboto Thin),url(/bundles/wallabagcore/fonts/Roboto-Thin.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Thin.woff) format("woff");font-weight:100}@font-face{font-family:Roboto;src:local(Roboto Light),url(/bundles/wallabagcore/fonts/Roboto-Light.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Light.woff) format("woff");font-weight:300}@font-face{font-family:Roboto;src:local(Roboto Regular),url(/bundles/wallabagcore/fonts/Roboto-Regular.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Regular.woff) format("woff");font-weight:400}@font-face{font-family:Roboto;src:local(Roboto Medium),url(/bundles/wallabagcore/fonts/Roboto-Medium.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Medium.woff) format("woff");font-weight:500}@font-face{font-family:Roboto;src:local(Roboto Bold),url(/bundles/wallabagcore/fonts/Roboto-Bold.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/Roboto-Bold.woff) format("woff");font-weight:700}a{text-decoration:none}html{line-height:1.5;font-family:Roboto,sans-serif;font-weight:400;color:rgba(0,0,0,.87)}@media only screen and (min-width:0){html{font-size:14px}}@media only screen and (min-width:992px){html{font-size:14.5px}}@media only screen and (min-width:1200px){html{font-size:15px}}h1,h2,h3,h4,h5,h6{font-weight:400;line-height:1.1}h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit}h1{font-size:4.2rem;margin:2.1rem 0 1.68rem}h1,h2{line-height:110%}h2{font-size:3.56rem;margin:1.78rem 0 1.424rem}h3{font-size:2.92rem;margin:1.46rem 0 1.168rem}h3,h4{line-height:110%}h4{font-size:2.28rem;margin:1.14rem 0 .912rem}h5{font-size:1.64rem;margin:.82rem 0 .656rem}h5,h6{line-height:110%}h6{font-size:1rem;margin:.5rem 0 .4rem}em{font-style:italic}strong{font-weight:500}small{font-size:75%}.light,.page-footer .footer-copyright{font-weight:300}.thin{font-weight:200}.flow-text{font-weight:300}@media only screen and (min-width:360px){.flow-text{font-size:1.2rem}}@media only screen and (min-width:390px){.flow-text{font-size:1.224rem}}@media only screen and (min-width:420px){.flow-text{font-size:1.248rem}}@media only screen and (min-width:450px){.flow-text{font-size:1.272rem}}@media only screen and (min-width:480px){.flow-text{font-size:1.296rem}}@media only screen and (min-width:510px){.flow-text{font-size:1.32rem}}@media only screen and (min-width:540px){.flow-text{font-size:1.344rem}}@media only screen and (min-width:570px){.flow-text{font-size:1.368rem}}@media only screen and (min-width:600px){.flow-text{font-size:1.392rem}}@media only screen and (min-width:630px){.flow-text{font-size:1.416rem}}@media only screen and (min-width:660px){.flow-text{font-size:1.44rem}}@media only screen and (min-width:690px){.flow-text{font-size:1.464rem}}@media only screen and (min-width:720px){.flow-text{font-size:1.488rem}}@media only screen and (min-width:750px){.flow-text{font-size:1.512rem}}@media only screen and (min-width:780px){.flow-text{font-size:1.536rem}}@media only screen and (min-width:810px){.flow-text{font-size:1.56rem}}@media only screen and (min-width:840px){.flow-text{font-size:1.584rem}}@media only screen and (min-width:870px){.flow-text{font-size:1.608rem}}@media only screen and (min-width:900px){.flow-text{font-size:1.632rem}}@media only screen and (min-width:930px){.flow-text{font-size:1.656rem}}@media only screen and (min-width:960px){.flow-text{font-size:1.68rem}}@media only screen and (max-width:360px){.flow-text{font-size:1.2rem}}.scale-transition{transition:-webkit-transform .3s cubic-bezier(.53,.01,.36,1.63)!important;transition:transform .3s cubic-bezier(.53,.01,.36,1.63)!important;transition:transform .3s cubic-bezier(.53,.01,.36,1.63),-webkit-transform .3s cubic-bezier(.53,.01,.36,1.63)!important}.scale-transition.scale-out{-webkit-transform:scale(0);transform:scale(0);transition:-webkit-transform .2s!important;transition:transform .2s!important;transition:transform .2s,-webkit-transform .2s!important}.scale-transition.scale-in{-webkit-transform:scale(1);transform:scale(1)}.card-panel{padding:24px}.card,.card-panel{transition:box-shadow .25s;margin:.5rem 0 1rem;border-radius:2px;background-color:#fff}.card{position:relative}.card .card-title{font-size:24px;font-weight:300}.card .card-title.activator{cursor:pointer}.card.large,.card.medium,.card.small{position:relative}.card.large .card-image,.card.medium .card-image,.card.small .card-image{max-height:60%;overflow:hidden}.card.large .card-image+.card-content,.card.medium .card-image+.card-content,.card.small .card-image+.card-content{max-height:40%}.card.large .card-content,.card.medium .card-content,.card.small .card-content{max-height:100%;overflow:hidden}.card.large .card-action,.card.medium .card-action,.card.small .card-action{position:absolute;bottom:0;left:0;right:0}.card.small{height:300px}.card.medium{height:400px}.card.large{height:500px}.card.horizontal{display:-webkit-flex;display:-ms-flexbox;display:flex}.card.horizontal.large .card-image,.card.horizontal.medium .card-image,.card.horizontal.small .card-image{height:100%;max-height:none;overflow:visible}.card.horizontal.large .card-image img,.card.horizontal.medium .card-image img,.card.horizontal.small .card-image img{height:100%}.card.horizontal .card-image{max-width:50%}.card.horizontal .card-image img{border-radius:2px 0 0 2px;max-width:100%;width:auto}.card.horizontal .card-stacked{display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex:1;-ms-flex:1;flex:1;position:relative}.card.horizontal .card-stacked .card-content{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.card.sticky-action .card-action{z-index:2}.card.sticky-action .card-reveal{z-index:1;padding-bottom:64px}.card .card-image{position:relative}.card .card-image img{display:block;border-radius:2px 2px 0 0;position:relative;left:0;right:0;top:0;bottom:0;width:100%}.card .card-image .card-title{color:#fff;position:absolute;bottom:0;left:0;max-width:100%;padding:24px}.card .card-content{padding:24px;border-radius:0 0 2px 2px}.card .card-content p{margin:0;color:inherit}.card .card-content .card-title{display:block;line-height:32px;margin-bottom:8px}.card .card-content .card-title i{line-height:32px}.card .card-action{position:relative;background-color:inherit;border-top:1px solid hsla(0,0%,63%,.2);padding:16px 24px}.card .card-action:last-child{border-radius:0 0 2px 2px}.card .card-action a:not(.btn):not(.btn-large):not(.btn-large):not(.btn-floating){color:#ffab40;margin-right:24px;transition:color .3s ease;text-transform:uppercase}.card .card-action a:not(.btn):not(.btn-large):not(.btn-large):not(.btn-floating):hover{color:#ffd8a6}.card .card-reveal{padding:24px;position:absolute;background-color:#fff;width:100%;overflow-y:auto;left:0;top:100%;height:100%;z-index:3;display:none}.card .card-reveal .card-title{cursor:pointer;display:block}#toast-container{display:block;position:fixed;z-index:10000}@media only screen and (max-width:600px){#toast-container{min-width:100%;bottom:0}}@media only screen and (min-width:601px) and (max-width:992px){#toast-container{left:5%;bottom:7%;max-width:90%}}@media only screen and (min-width:993px){#toast-container{top:10%;right:7%;max-width:86%}}.toast{border-radius:2px;top:35px;width:auto;clear:both;margin-top:10px;position:relative;max-width:100%;height:auto;min-height:48px;line-height:1.5em;word-break:break-all;background-color:#323232;padding:10px 25px;font-size:1.1rem;font-weight:300;color:#fff;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.toast .btn,.toast .btn-flat,.toast .btn-large{margin:0;margin-left:3rem}.toast.rounded{border-radius:24px}@media only screen and (max-width:600px){.toast{width:100%;border-radius:0}}@media only screen and (min-width:601px) and (max-width:992px){.toast{float:left}}@media only screen and (min-width:993px){.toast{float:right}}.tabs{position:relative;overflow-x:auto;overflow-y:hidden;height:48px;width:100%;background-color:#fff;margin:0 auto;white-space:nowrap}.tabs.tabs-transparent{background-color:transparent}.tabs.tabs-transparent .tab.disabled a,.tabs.tabs-transparent .tab.disabled a:hover,.tabs.tabs-transparent .tab a{color:hsla(0,0%,100%,.7)}.tabs.tabs-transparent .tab a.active,.tabs.tabs-transparent .tab a:hover{color:#fff}.tabs.tabs-transparent .indicator{background-color:#fff}.tabs.tabs-fixed-width{display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs.tabs-fixed-width .tab{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab{display:inline-block;text-align:center;line-height:48px;height:48px;padding:0;margin:0;text-transform:uppercase}.tabs .tab a{color:rgba(238,110,115,.7);display:block;width:100%;height:100%;padding:0 24px;font-size:14px;text-overflow:ellipsis;overflow:hidden;transition:color .28s ease}.tabs .tab a.active,.tabs .tab a:hover{background-color:transparent;color:#ee6e73}.tabs .tab.disabled a,.tabs .tab.disabled a:hover{color:rgba(238,110,115,.7);cursor:default}.tabs .indicator{position:absolute;bottom:0;height:2px;background-color:#f6b2b5;will-change:left,right}@media only screen and (max-width:992px){.tabs{display:-webkit-flex;display:-ms-flexbox;display:flex}.tabs .tab{-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1}.tabs .tab a{padding:0 12px}}.material-tooltip{padding:10px 8px;font-size:1rem;z-index:2000;background-color:transparent;border-radius:2px;color:#fff;min-height:36px;line-height:120%;text-align:center;max-width:calc(100% - 4px);overflow:hidden;left:0;top:0;pointer-events:none}.backdrop,.material-tooltip{opacity:0;position:absolute;visibility:hidden}.backdrop{height:7px;width:14px;border-radius:0 0 50% 50%;background-color:#323232;z-index:-1;-webkit-transform-origin:50% 0;transform-origin:50% 0}.btn,.btn-flat,.btn-large{border:none;border-radius:2px;display:inline-block;height:36px;line-height:36px;padding:0 2rem;text-transform:uppercase;vertical-align:middle;-webkit-tap-highlight-color:transparent}.btn-flat.disabled,.btn-flat:disabled,.btn-flat[disabled],.btn-floating.disabled,.btn-floating:disabled,.btn-floating[disabled],.btn-large.disabled,.btn-large:disabled,.btn-large[disabled],.btn.disabled,.btn:disabled,.btn[disabled],.disabled.btn-large,[disabled].btn-large{pointer-events:none;background-color:#dfdfdf!important;box-shadow:none;color:#9f9f9f!important;cursor:default}.btn-flat.disabled:hover,.btn-flat:disabled:hover,.btn-flat[disabled]:hover,.btn-floating.disabled:hover,.btn-floating:disabled:hover,.btn-floating[disabled]:hover,.btn-large.disabled:hover,.btn-large:disabled:hover,.btn-large[disabled]:hover,.btn.disabled:hover,.btn:disabled:hover,.btn[disabled]:hover,.disabled.btn-large:hover,[disabled].btn-large:hover{background-color:#dfdfdf!important;color:#9f9f9f!important}.btn,.btn-flat,.btn-floating,.btn-large{font-size:1rem;outline:0}.btn-flat i,.btn-floating i,.btn-large i,.btn i{font-size:1.3rem;line-height:inherit}.btn-floating:focus,.btn-large:focus,.btn:focus{background-color:#1d7d74}.btn,.btn-large{text-decoration:none;color:#fff;background-color:#26a69a;text-align:center;letter-spacing:.5px;transition:.2s ease-out;cursor:pointer}.btn-large:hover,.btn:hover{background-color:#2bbbad}.btn-floating{display:inline-block;color:#fff;position:relative;overflow:hidden;z-index:1;width:40px;height:40px;line-height:40px;padding:0;border-radius:50%;transition:.3s;cursor:pointer;vertical-align:middle}.btn-floating,.btn-floating:hover{background-color:#26a69a}.btn-floating:before{border-radius:0}.btn-floating.btn-large{width:56px;height:56px}.btn-floating.btn-large.halfway-fab{bottom:-28px}.btn-floating.btn-large i{line-height:56px}.btn-floating.halfway-fab{position:absolute;right:24px;bottom:-20px}.btn-floating.halfway-fab.left{right:auto;left:24px}.btn-floating i{width:inherit;display:inline-block;text-align:center;color:#fff;font-size:1.6rem;line-height:40px}button.btn-floating{border:none}.fixed-action-btn{position:fixed;right:23px;bottom:23px;padding-top:15px;margin-bottom:0;z-index:998}.fixed-action-btn.active ul{visibility:visible}.fixed-action-btn.horizontal{padding:0 0 0 15px}.fixed-action-btn.horizontal ul{text-align:right;right:64px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);height:100%;left:auto;width:500px}.fixed-action-btn.horizontal ul li{display:inline-block;margin:15px 15px 0 0}.fixed-action-btn.toolbar{padding:0;height:56px}.fixed-action-btn.toolbar.active>a i{opacity:0}.fixed-action-btn.toolbar ul{display:-webkit-flex;display:-ms-flexbox;display:flex;top:0;bottom:0}.fixed-action-btn.toolbar ul li{-webkit-flex:1;-ms-flex:1;flex:1;display:inline-block;margin:0;height:100%;transition:none}.fixed-action-btn.toolbar ul li a{display:block;overflow:hidden;position:relative;width:100%;height:100%;background-color:transparent;box-shadow:none;color:#fff;line-height:56px;z-index:1}.fixed-action-btn.toolbar ul li a i{line-height:inherit}.fixed-action-btn ul{left:0;right:0;text-align:center;position:absolute;bottom:64px;margin:0;visibility:hidden}.fixed-action-btn ul li{margin-bottom:15px}.fixed-action-btn ul a.btn-floating{opacity:0}.fixed-action-btn .fab-backdrop{position:absolute;top:0;left:0;z-index:-1;width:40px;height:40px;background-color:#26a69a;border-radius:50%;-webkit-transform:scale(0);transform:scale(0)}.btn-flat{box-shadow:none;color:#343434;cursor:pointer;transition:background-color .2s}.btn-flat,.btn-flat:active,.btn-flat:focus{background-color:transparent}.btn-flat:focus,.btn-flat:hover{background-color:rgba(0,0,0,.1);box-shadow:none}.btn-flat:active{background-color:rgba(0,0,0,.2)}.btn-flat.disabled{background-color:transparent!important;color:#b3b3b3!important;cursor:default}.btn-large{height:54px;line-height:54px}.btn-large i{font-size:1.6rem}.btn-block{display:block}.dropdown-content{background-color:#fff;margin:0;display:none;min-width:100px;max-height:650px;overflow-y:auto;opacity:0;position:absolute;z-index:999;will-change:width,height}.dropdown-content li{clear:both;color:rgba(0,0,0,.87);cursor:pointer;min-height:50px;line-height:1.5rem;width:100%;text-align:left;text-transform:none}.dropdown-content li.active,.dropdown-content li.selected,.dropdown-content li:hover{background-color:#eee}.dropdown-content li.active.selected{background-color:#e1e1e1}.dropdown-content li.divider{min-height:0;height:1px}.dropdown-content li>a,.dropdown-content li>span{font-size:16px;color:#26a69a;display:block;line-height:22px;padding:14px 16px}.dropdown-content li>span>label{top:1px;left:0;height:18px}.dropdown-content li>a>i{height:inherit;line-height:inherit;float:left;margin:0 24px 0 0;width:24px}.input-field.col .dropdown-content [type=checkbox]+label{top:1px;left:0;height:18px}.waves-effect{position:relative;cursor:pointer;display:inline-block;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;vertical-align:middle;z-index:1;transition:.3s ease-out}.waves-effect .waves-ripple{position:absolute;border-radius:50%;width:20px;height:20px;margin-top:-10px;margin-left:-10px;opacity:0;background:rgba(0,0,0,.2);transition:all .7s ease-out;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform;-webkit-transform:scale(0);transform:scale(0);pointer-events:none}.waves-effect.waves-light .waves-ripple{background-color:hsla(0,0%,100%,.45)}.waves-effect.waves-red .waves-ripple{background-color:rgba(244,67,54,.7)}.waves-effect.waves-yellow .waves-ripple{background-color:rgba(255,235,59,.7)}.waves-effect.waves-orange .waves-ripple{background-color:rgba(255,152,0,.7)}.waves-effect.waves-purple .waves-ripple{background-color:rgba(156,39,176,.7)}.waves-effect.waves-green .waves-ripple{background-color:rgba(76,175,80,.7)}.waves-effect.waves-teal .waves-ripple{background-color:rgba(0,150,136,.7)}.waves-effect input[type=button],.waves-effect input[type=reset],.waves-effect input[type=submit]{border:0;font-style:normal;font-size:inherit;text-transform:inherit;background:none}.waves-effect img{position:relative;z-index:-1}.waves-notransition{transition:none!important}.waves-circle{-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-mask-image:-webkit-radial-gradient(circle,#fff 100%,#000 0)}.waves-input-wrapper{border-radius:.2em;vertical-align:bottom}.waves-input-wrapper .waves-button-input{position:relative;top:0;left:0;z-index:1}.waves-circle{text-align:center;width:2.5em;height:2.5em;line-height:2.5em;border-radius:50%;-webkit-mask-image:none}.waves-block{display:block}.waves-effect .waves-ripple{z-index:-1}.modal{display:none;position:fixed;left:0;right:0;background-color:#fafafa;padding:0;max-height:70%;width:55%;margin:auto;overflow-y:auto;border-radius:2px;will-change:top,opacity}@media only screen and (max-width:992px){.modal{width:80%}}.modal h1,.modal h2,.modal h3,.modal h4{margin-top:0}.modal .modal-content{padding:24px}.modal .modal-close{cursor:pointer}.modal .modal-footer{border-radius:0 0 2px 2px;background-color:#fafafa;padding:4px 6px;height:56px;width:100%}.modal .modal-footer .btn,.modal .modal-footer .btn-flat,.modal .modal-footer .btn-large{float:right;margin:6px 0}.modal-overlay{position:fixed;z-index:999;top:-100px;left:0;bottom:0;right:0;height:125%;width:100%;background:#000;display:none;will-change:opacity}.modal.modal-fixed-footer{padding:0;height:70%}.modal.modal-fixed-footer .modal-content{position:absolute;height:calc(100% - 56px);max-height:100%;width:100%;overflow-y:auto}.modal.modal-fixed-footer .modal-footer{border-top:1px solid rgba(0,0,0,.1);position:absolute;bottom:0}.modal.bottom-sheet{top:auto;bottom:-100%;margin:0;width:100%;max-height:45%;border-radius:0;will-change:bottom,opacity}.collapsible{border-top:1px solid #ddd;border-right:1px solid #ddd;border-left:1px solid #ddd;margin:.5rem 0 1rem}.collapsible-header{display:block;cursor:pointer;min-height:3rem;line-height:3rem;padding:0 1rem;background-color:#fff;border-bottom:1px solid #ddd}.collapsible-header i{width:2rem;font-size:1.6rem;line-height:3rem;display:block;float:left;text-align:center;margin-right:1rem}.collapsible-body{display:none;border-bottom:1px solid #ddd;box-sizing:border-box;padding:2rem}.side-nav .collapsible,.side-nav.fixed .collapsible{border:none;box-shadow:none}.side-nav .collapsible li,.side-nav.fixed .collapsible li{padding:0}.side-nav .collapsible-header,.side-nav.fixed .collapsible-header{background-color:transparent;border:none;line-height:inherit;height:inherit;padding:0 16px}.side-nav .collapsible-header:hover,.side-nav.fixed .collapsible-header:hover{background-color:rgba(0,0,0,.05)}.side-nav .collapsible-header i,.side-nav.fixed .collapsible-header i{line-height:inherit}.side-nav .collapsible-body,.side-nav.fixed .collapsible-body{border:0;background-color:#fff}.side-nav .collapsible-body li a,.side-nav.fixed .collapsible-body li a{padding:0 23.5px 0 31px}.collapsible.popout{border:none;box-shadow:none}.collapsible.popout>li{box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);margin:0 24px;transition:margin .35s cubic-bezier(.25,.46,.45,.94)}.collapsible.popout>li.active{box-shadow:0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);margin:16px 0}.chip{display:inline-block;height:32px;font-size:13px;font-weight:500;color:rgba(0,0,0,.6);line-height:32px;padding:0 12px;border-radius:16px;background-color:#e4e4e4;margin-bottom:5px;margin-right:5px}.chip>img{float:left;margin:0 8px 0 -12px;height:32px;width:32px;border-radius:50%}.chip .close{cursor:pointer;float:right;font-size:16px;line-height:32px;padding-left:8px}.chips{border:none;border-bottom:1px solid #9e9e9e;box-shadow:none;margin:0 0 20px;min-height:45px;outline:none;transition:all .3s}.chips.focus{border-bottom:1px solid #26a69a;box-shadow:0 1px 0 0 #26a69a}.chips:hover{cursor:text}.chips .chip.selected{background-color:#26a69a;color:#fff}.chips .input{background:none;border:0;color:rgba(0,0,0,.6);display:inline-block;font-size:1rem;height:3rem;line-height:32px;outline:0;margin:0;padding:0!important;width:120px!important}.chips .input:focus{border:0!important;box-shadow:none!important}.chips .autocomplete-content{margin-top:0}.prefix~.chips{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.chips:empty~label{font-size:.8rem;-webkit-transform:translateY(-140%);transform:translateY(-140%)}.materialboxed{display:block;cursor:-webkit-zoom-in;cursor:zoom-in;position:relative;transition:opacity .4s;-webkit-backface-visibility:hidden}.materialboxed:hover:not(.active){opacity:.8}.materialboxed.active{cursor:-webkit-zoom-out;cursor:zoom-out}#materialbox-overlay{top:0;right:0;background-color:#292929;will-change:opacity}#materialbox-overlay,.materialbox-caption{position:fixed;bottom:0;left:0;z-index:1000}.materialbox-caption{display:none;color:#fff;line-height:50px;width:100%;text-align:center;padding:0 15%;height:50px;-webkit-font-smoothing:antialiased}select:focus{outline:1px solid #c9f3ef}button:focus{outline:none;background-color:#2ab7a9}label{font-size:.8rem;color:#9e9e9e}::-webkit-input-placeholder{color:#d1d1d1}:-moz-placeholder,::-moz-placeholder{color:#d1d1d1}:-ms-input-placeholder{color:#d1d1d1}input:not([type]),input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],textarea.materialize-textarea{background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;border-radius:0;outline:none;height:3rem;width:100%;font-size:1rem;margin:0 0 20px;padding:0;box-shadow:none;box-sizing:content-box;transition:all .3s}input:not([type]):disabled,input:not([type])[readonly=readonly],input[type=date]:disabled,input[type=date][readonly=readonly],input[type=datetime-local]:disabled,input[type=datetime-local][readonly=readonly],input[type=datetime]:disabled,input[type=datetime][readonly=readonly],input[type=email]:disabled,input[type=email][readonly=readonly],input[type=number]:disabled,input[type=number][readonly=readonly],input[type=password]:disabled,input[type=password][readonly=readonly],input[type=search]:disabled,input[type=search][readonly=readonly],input[type=tel]:disabled,input[type=tel][readonly=readonly],input[type=text]:disabled,input[type=text][readonly=readonly],input[type=time]:disabled,input[type=time][readonly=readonly],input[type=url]:disabled,input[type=url][readonly=readonly],textarea.materialize-textarea:disabled,textarea.materialize-textarea[readonly=readonly]{color:rgba(0,0,0,.26);border-bottom:1px dotted rgba(0,0,0,.26)}input:not([type]):disabled+label,input:not([type])[readonly=readonly]+label,input[type=date]:disabled+label,input[type=date][readonly=readonly]+label,input[type=datetime-local]:disabled+label,input[type=datetime-local][readonly=readonly]+label,input[type=datetime]:disabled+label,input[type=datetime][readonly=readonly]+label,input[type=email]:disabled+label,input[type=email][readonly=readonly]+label,input[type=number]:disabled+label,input[type=number][readonly=readonly]+label,input[type=password]:disabled+label,input[type=password][readonly=readonly]+label,input[type=search]:disabled+label,input[type=search][readonly=readonly]+label,input[type=tel]:disabled+label,input[type=tel][readonly=readonly]+label,input[type=text]:disabled+label,input[type=text][readonly=readonly]+label,input[type=time]:disabled+label,input[type=time][readonly=readonly]+label,input[type=url]:disabled+label,input[type=url][readonly=readonly]+label,textarea.materialize-textarea:disabled+label,textarea.materialize-textarea[readonly=readonly]+label{color:rgba(0,0,0,.26)}input:not([type]):focus:not([readonly]),input[type=date]:focus:not([readonly]),input[type=datetime-local]:focus:not([readonly]),input[type=datetime]:focus:not([readonly]),input[type=email]:focus:not([readonly]),input[type=number]:focus:not([readonly]),input[type=password]:focus:not([readonly]),input[type=search]:focus:not([readonly]),input[type=tel]:focus:not([readonly]),input[type=text]:focus:not([readonly]),input[type=time]:focus:not([readonly]),input[type=url]:focus:not([readonly]),textarea.materialize-textarea:focus:not([readonly]){border-bottom:1px solid #26a69a;box-shadow:0 1px 0 0 #26a69a}input:not([type]):focus:not([readonly])+label,input[type=date]:focus:not([readonly])+label,input[type=datetime-local]:focus:not([readonly])+label,input[type=datetime]:focus:not([readonly])+label,input[type=email]:focus:not([readonly])+label,input[type=number]:focus:not([readonly])+label,input[type=password]:focus:not([readonly])+label,input[type=search]:focus:not([readonly])+label,input[type=tel]:focus:not([readonly])+label,input[type=text]:focus:not([readonly])+label,input[type=time]:focus:not([readonly])+label,input[type=url]:focus:not([readonly])+label,textarea.materialize-textarea:focus:not([readonly])+label{color:#26a69a}input:not([type]).valid,input:not([type]):focus.valid,input[type=date].valid,input[type=date]:focus.valid,input[type=datetime-local].valid,input[type=datetime-local]:focus.valid,input[type=datetime].valid,input[type=datetime]:focus.valid,input[type=email].valid,input[type=email]:focus.valid,input[type=number].valid,input[type=number]:focus.valid,input[type=password].valid,input[type=password]:focus.valid,input[type=search].valid,input[type=search]:focus.valid,input[type=tel].valid,input[type=tel]:focus.valid,input[type=text].valid,input[type=text]:focus.valid,input[type=time].valid,input[type=time]:focus.valid,input[type=url].valid,input[type=url]:focus.valid,textarea.materialize-textarea.valid,textarea.materialize-textarea:focus.valid{border-bottom:1px solid #4caf50;box-shadow:0 1px 0 0 #4caf50}input:not([type]).valid+label:after,input:not([type]):focus.valid+label:after,input[type=date].valid+label:after,input[type=date]:focus.valid+label:after,input[type=datetime-local].valid+label:after,input[type=datetime-local]:focus.valid+label:after,input[type=datetime].valid+label:after,input[type=datetime]:focus.valid+label:after,input[type=email].valid+label:after,input[type=email]:focus.valid+label:after,input[type=number].valid+label:after,input[type=number]:focus.valid+label:after,input[type=password].valid+label:after,input[type=password]:focus.valid+label:after,input[type=search].valid+label:after,input[type=search]:focus.valid+label:after,input[type=tel].valid+label:after,input[type=tel]:focus.valid+label:after,input[type=text].valid+label:after,input[type=text]:focus.valid+label:after,input[type=time].valid+label:after,input[type=time]:focus.valid+label:after,input[type=url].valid+label:after,input[type=url]:focus.valid+label:after,textarea.materialize-textarea.valid+label:after,textarea.materialize-textarea:focus.valid+label:after{content:attr(data-success);color:#4caf50;opacity:1}input:not([type]).invalid,input:not([type]):focus.invalid,input[type=date].invalid,input[type=date]:focus.invalid,input[type=datetime-local].invalid,input[type=datetime-local]:focus.invalid,input[type=datetime].invalid,input[type=datetime]:focus.invalid,input[type=email].invalid,input[type=email]:focus.invalid,input[type=number].invalid,input[type=number]:focus.invalid,input[type=password].invalid,input[type=password]:focus.invalid,input[type=search].invalid,input[type=search]:focus.invalid,input[type=tel].invalid,input[type=tel]:focus.invalid,input[type=text].invalid,input[type=text]:focus.invalid,input[type=time].invalid,input[type=time]:focus.invalid,input[type=url].invalid,input[type=url]:focus.invalid,textarea.materialize-textarea.invalid,textarea.materialize-textarea:focus.invalid{border-bottom:1px solid #f44336;box-shadow:0 1px 0 0 #f44336}input:not([type]).invalid+label:after,input:not([type]):focus.invalid+label:after,input[type=date].invalid+label:after,input[type=date]:focus.invalid+label:after,input[type=datetime-local].invalid+label:after,input[type=datetime-local]:focus.invalid+label:after,input[type=datetime].invalid+label:after,input[type=datetime]:focus.invalid+label:after,input[type=email].invalid+label:after,input[type=email]:focus.invalid+label:after,input[type=number].invalid+label:after,input[type=number]:focus.invalid+label:after,input[type=password].invalid+label:after,input[type=password]:focus.invalid+label:after,input[type=search].invalid+label:after,input[type=search]:focus.invalid+label:after,input[type=tel].invalid+label:after,input[type=tel]:focus.invalid+label:after,input[type=text].invalid+label:after,input[type=text]:focus.invalid+label:after,input[type=time].invalid+label:after,input[type=time]:focus.invalid+label:after,input[type=url].invalid+label:after,input[type=url]:focus.invalid+label:after,textarea.materialize-textarea.invalid+label:after,textarea.materialize-textarea:focus.invalid+label:after{content:attr(data-error);color:#f44336;opacity:1}input:not([type]).validate+label,input[type=date].validate+label,input[type=datetime-local].validate+label,input[type=datetime].validate+label,input[type=email].validate+label,input[type=number].validate+label,input[type=password].validate+label,input[type=search].validate+label,input[type=tel].validate+label,input[type=text].validate+label,input[type=time].validate+label,input[type=url].validate+label,textarea.materialize-textarea.validate+label{width:100%;pointer-events:none}input:not([type])+label:after,input[type=date]+label:after,input[type=datetime-local]+label:after,input[type=datetime]+label:after,input[type=email]+label:after,input[type=number]+label:after,input[type=password]+label:after,input[type=search]+label:after,input[type=tel]+label:after,input[type=text]+label:after,input[type=time]+label:after,input[type=url]+label:after,textarea.materialize-textarea+label:after{display:block;content:"";position:absolute;top:60px;opacity:0;transition:opacity .2s ease-out,color .2s ease-out}.input-field{position:relative;margin-top:1rem}.input-field.inline{display:inline-block;vertical-align:middle;margin-left:5px}.input-field.inline .select-dropdown,.input-field.inline input{margin-bottom:1rem}.input-field.col label{left:.75rem}.input-field.col .prefix~.validate~label,.input-field.col .prefix~label{width:calc(100% - 3rem - 1.5rem)}.input-field label{color:#9e9e9e;position:absolute;top:.8rem;left:0;font-size:1rem;cursor:text;transition:.2s ease-out;text-align:initial}.input-field label:not(.label-icon).active{font-size:.8rem;-webkit-transform:translateY(-140%);transform:translateY(-140%)}.input-field .prefix{position:absolute;width:3rem;font-size:2rem;transition:color .2s}.input-field .prefix.active{color:#26a69a}.input-field .prefix~.autocomplete-content,.input-field .prefix~.validate~label,.input-field .prefix~input,.input-field .prefix~label,.input-field .prefix~textarea{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.input-field .prefix~label{margin-left:3rem}@media only screen and (max-width:992px){.input-field .prefix~input{width:86%;width:calc(100% - 3rem)}}@media only screen and (max-width:600px){.input-field .prefix~input{width:80%;width:calc(100% - 3rem)}}.input-field input[type=search]{display:block;line-height:inherit;padding-left:4rem;width:calc(100% - 4rem)}.input-field input[type=search]:focus{background-color:#fff;border:0;box-shadow:none;color:#444}.input-field input[type=search]:focus+label i,.input-field input[type=search]:focus~.material-icons,.input-field input[type=search]:focus~.mdi-navigation-close{color:#444}.input-field input[type=search]+label{left:1rem}.input-field input[type=search]~.material-icons,.input-field input[type=search]~.mdi-navigation-close{position:absolute;top:0;right:1rem;color:transparent;cursor:pointer;font-size:2rem;transition:color .3s}textarea{width:100%;height:3rem;background-color:transparent}textarea.materialize-textarea{overflow-y:hidden;padding:.8rem 0 1.6rem;resize:none;min-height:3rem}.hiddendiv{display:none;white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;padding-top:1.2rem;position:absolute;top:0}.autocomplete-content{margin-top:-20px;display:block;opacity:1;position:static}.autocomplete-content li .highlight{color:#444}.autocomplete-content li img{height:40px;width:40px;margin:5px 15px}[type=radio]:checked,[type=radio]:not(:checked){position:absolute;left:-9999px;opacity:0}[type=radio]:checked+label,[type=radio]:not(:checked)+label{position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;transition:.28s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[type=radio]+label:after,[type=radio]+label:before{content:"";position:absolute;left:0;top:0;margin:4px;width:16px;height:16px;z-index:0;transition:.28s ease}[type=radio].with-gap:checked+label:after,[type=radio].with-gap:checked+label:before,[type=radio]:checked+label:after,[type=radio]:checked+label:before,[type=radio]:not(:checked)+label:after,[type=radio]:not(:checked)+label:before{border-radius:50%}[type=radio]:not(:checked)+label:after,[type=radio]:not(:checked)+label:before{border:2px solid #5a5a5a}[type=radio]:not(:checked)+label:after{-webkit-transform:scale(0);transform:scale(0)}[type=radio]:checked+label:before{border:2px solid transparent}[type=radio].with-gap:checked+label:after,[type=radio].with-gap:checked+label:before,[type=radio]:checked+label:after{border:2px solid #26a69a}[type=radio].with-gap:checked+label:after,[type=radio]:checked+label:after{background-color:#26a69a}[type=radio]:checked+label:after{-webkit-transform:scale(1.02);transform:scale(1.02)}[type=radio].with-gap:checked+label:after{-webkit-transform:scale(.5);transform:scale(.5)}[type=radio].tabbed:focus+label:before{box-shadow:0 0 0 10px rgba(0,0,0,.1)}[type=radio].with-gap:disabled:checked+label:before{border:2px solid rgba(0,0,0,.26)}[type=radio].with-gap:disabled:checked+label:after{border:none;background-color:rgba(0,0,0,.26)}[type=radio]:disabled:checked+label:before,[type=radio]:disabled:not(:checked)+label:before{background-color:transparent;border-color:rgba(0,0,0,.26)}[type=radio]:disabled+label{color:rgba(0,0,0,.26)}[type=radio]:disabled:not(:checked)+label:before{border-color:rgba(0,0,0,.26)}[type=radio]:disabled:checked+label:after{background-color:rgba(0,0,0,.26);border-color:#bdbdbd}form p{margin-bottom:10px;text-align:left}form p:last-child{margin-bottom:0}[type=checkbox]:checked,[type=checkbox]:not(:checked){position:absolute;left:-9999px;opacity:0}[type=checkbox]+label{position:relative;padding-left:35px;cursor:pointer;display:inline-block;height:25px;line-height:25px;font-size:1rem;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}[type=checkbox]+label:before,[type=checkbox]:not(.filled-in)+label:after{content:"";position:absolute;top:0;left:0;width:18px;height:18px;z-index:0;border:2px solid #5a5a5a;border-radius:1px;margin-top:2px;transition:.2s}[type=checkbox]:not(.filled-in)+label:after{border:0;-webkit-transform:scale(0);transform:scale(0)}[type=checkbox]:not(:checked):disabled+label:before{border:none;background-color:rgba(0,0,0,.26)}[type=checkbox].tabbed:focus+label:after{-webkit-transform:scale(1);transform:scale(1);border:0;border-radius:50%;box-shadow:0 0 0 10px rgba(0,0,0,.1);background-color:rgba(0,0,0,.1)}[type=checkbox]:checked+label:before{top:-4px;left:-5px;width:12px;height:22px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #26a69a;border-bottom:2px solid #26a69a;-webkit-transform:rotate(40deg);transform:rotate(40deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=checkbox]:checked:disabled+label:before{border-right:2px solid rgba(0,0,0,.26);border-bottom:2px solid rgba(0,0,0,.26)}[type=checkbox]:indeterminate+label:before{top:-11px;left:-12px;width:10px;height:22px;border-top:none;border-left:none;border-right:2px solid #26a69a;border-bottom:none;-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=checkbox]:indeterminate:disabled+label:before{border-right:2px solid rgba(0,0,0,.26);background-color:transparent}[type=checkbox].filled-in+label:after{border-radius:2px}[type=checkbox].filled-in+label:after,[type=checkbox].filled-in+label:before{content:"";left:0;position:absolute;transition:border .25s,background-color .25s,width .2s .1s,height .2s .1s,top .2s .1s,left .2s .1s;z-index:1}[type=checkbox].filled-in:not(:checked)+label:before{width:0;height:0;border:3px solid transparent;left:6px;top:10px;-webkit-transform:rotate(37deg);transform:rotate(37deg);-webkit-transform-origin:20% 40%;transform-origin:100% 100%}[type=checkbox].filled-in:not(:checked)+label:after{height:20px;width:20px;background-color:transparent;border:2px solid #5a5a5a;top:0;z-index:0}[type=checkbox].filled-in:checked+label:before{top:0;left:1px;width:8px;height:13px;border-top:2px solid transparent;border-left:2px solid transparent;border-right:2px solid #fff;border-bottom:2px solid #fff;-webkit-transform:rotate(37deg);transform:rotate(37deg);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}[type=checkbox].filled-in:checked+label:after{top:0;width:20px;height:20px;border:2px solid #26a69a;background-color:#26a69a;z-index:0}[type=checkbox].filled-in.tabbed:focus+label:after{border-radius:2px;border-color:#5a5a5a;background-color:rgba(0,0,0,.1)}[type=checkbox].filled-in.tabbed:checked:focus+label:after{border-radius:2px;background-color:#26a69a;border-color:#26a69a}[type=checkbox].filled-in:disabled:not(:checked)+label:before{background-color:transparent;border:2px solid transparent}[type=checkbox].filled-in:disabled:not(:checked)+label:after{border-color:transparent;background-color:#bdbdbd}[type=checkbox].filled-in:disabled:checked+label:before{background-color:transparent}[type=checkbox].filled-in:disabled:checked+label:after{background-color:#bdbdbd;border-color:#bdbdbd}.switch,.switch *{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-ms-user-select:none}.switch label{cursor:pointer}.switch label input[type=checkbox]{opacity:0;width:0;height:0}.switch label input[type=checkbox]:checked+.lever{background-color:#84c7c1}.switch label input[type=checkbox]:checked+.lever:after{background-color:#26a69a;left:24px}.switch label .lever{content:"";display:inline-block;position:relative;width:40px;height:15px;background-color:#818181;border-radius:15px;margin-right:10px;transition:background .3s ease;vertical-align:middle;margin:0 16px}.switch label .lever:after{content:"";position:absolute;display:inline-block;width:21px;height:21px;background-color:#f1f1f1;border-radius:21px;box-shadow:0 1px 3px 1px rgba(0,0,0,.4);left:-5px;top:-3px;transition:left .3s ease,background .3s ease,box-shadow .1s ease}input[type=checkbox]:checked:not(:disabled).tabbed:focus~.lever:after,input[type=checkbox]:checked:not(:disabled)~.lever:active:after{box-shadow:0 1px 3px 1px rgba(0,0,0,.4),0 0 0 15px rgba(38,166,154,.1)}input[type=checkbox]:not(:disabled).tabbed:focus~.lever:after,input[type=checkbox]:not(:disabled)~.lever:active:after{box-shadow:0 1px 3px 1px rgba(0,0,0,.4),0 0 0 15px rgba(0,0,0,.08)}.switch input[type=checkbox][disabled]+.lever{cursor:default}.switch label input[type=checkbox][disabled]+.lever:after,.switch label input[type=checkbox][disabled]:checked+.lever:after{background-color:#bdbdbd}select{display:none}select.browser-default{display:block}select{background-color:hsla(0,0%,100%,.9);width:100%;padding:5px;border:1px solid #f2f2f2;border-radius:2px;height:3rem}.select-label{position:absolute}.select-wrapper{position:relative}.select-wrapper input.select-dropdown{position:relative;cursor:pointer;background-color:transparent;border:none;border-bottom:1px solid #9e9e9e;outline:none;height:3rem;line-height:3rem;width:100%;font-size:1rem;margin:0 0 20px;padding:0;display:block}.select-wrapper span.caret{color:initial;position:absolute;right:0;top:0;bottom:0;height:10px;margin:auto 0;font-size:10px;line-height:10px}.select-wrapper span.caret.disabled{color:rgba(0,0,0,.26)}.select-wrapper+label{position:absolute;top:-14px;font-size:.8rem}select:disabled{color:rgba(0,0,0,.3)}.select-wrapper input.select-dropdown:disabled{color:rgba(0,0,0,.3);cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;border-bottom:1px solid rgba(0,0,0,.3)}.select-wrapper i{color:rgba(0,0,0,.3)}.select-dropdown li.disabled,.select-dropdown li.disabled>span,.select-dropdown li.optgroup{color:rgba(0,0,0,.3);background-color:transparent}.prefix~.select-wrapper{margin-left:3rem;width:92%;width:calc(100% - 3rem)}.prefix~label{margin-left:3rem}.select-dropdown li img{height:40px;width:40px;margin:5px 15px;float:right}.select-dropdown li.optgroup{border-top:1px solid #eee}.select-dropdown li.optgroup.selected>span{color:rgba(0,0,0,.7)}.select-dropdown li.optgroup>span{color:rgba(0,0,0,.4)}.select-dropdown li.optgroup~li.optgroup-option{padding-left:1rem}.file-field{position:relative}.file-field .file-path-wrapper{overflow:hidden;padding-left:10px}.file-field input.file-path{width:100%}.file-field .btn,.file-field .btn-large{float:left;height:3rem;line-height:3rem}.file-field span{cursor:pointer}.file-field input[type=file]{position:absolute;top:0;right:0;left:0;bottom:0;width:100%;margin:0;padding:0;font-size:20px;cursor:pointer;opacity:0;filter:alpha(opacity=0)}.range-field{position:relative}input[type=range],input[type=range]+.thumb{cursor:pointer}input[type=range]{position:relative;background-color:transparent;border:none;outline:none;width:100%;margin:15px 0;padding:0}input[type=range]:focus{outline:none}input[type=range]+.thumb{position:absolute;top:10px;left:0;border:none;height:0;width:0;border-radius:50%;background-color:#26a69a;margin-left:7px;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}input[type=range]+.thumb .value{display:block;width:30px;text-align:center;color:#26a69a;font-size:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}input[type=range]+.thumb.active{border-radius:50% 50% 50% 0}input[type=range]+.thumb.active .value{color:#fff;margin-left:-1px;margin-top:8px;font-size:10px}input[type=range]{-webkit-appearance:none}input[type=range]::-webkit-slider-runnable-track{height:3px;background:#c2c0c2;border:none}input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;border:none;height:14px;width:14px;border-radius:50%;background-color:#26a69a;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;margin:-5px 0 0;transition:.3s}input[type=range]:focus::-webkit-slider-runnable-track{background:#ccc}input[type=range]{border:1px solid #fff}input[type=range]::-moz-range-track{height:3px;background:#ddd;border:none}input[type=range]::-moz-range-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a;margin-top:-5px}input[type=range]:-moz-focusring{outline:1px solid #fff;outline-offset:-1px}input[type=range]:focus::-moz-range-track{background:#ccc}input[type=range]::-ms-track{height:3px;background:transparent;border-color:transparent;border-width:6px 0;color:transparent}input[type=range]::-ms-fill-lower{background:#777}input[type=range]::-ms-fill-upper{background:#ddd}input[type=range]::-ms-thumb{border:none;height:14px;width:14px;border-radius:50%;background:#26a69a}input[type=range]:focus::-ms-fill-lower{background:#888}input[type=range]:focus::-ms-fill-upper{background:#ccc}.table-of-contents.fixed{position:fixed}.table-of-contents li{padding:2px 0}.table-of-contents a{font-weight:300;color:#757575;padding-left:20px;height:1.5rem;line-height:1.5rem;letter-spacing:.4;display:inline-block}.table-of-contents a:hover{color:#a8a8a8;padding-left:19px;border-left:1px solid #ee6e73}.table-of-contents a.active{font-weight:500;padding-left:18px;border-left:2px solid #ee6e73}.side-nav{position:fixed;width:300px;left:0;top:0;margin:0;-webkit-transform:translateX(-100%);transform:translateX(-100%);height:calc(100% + 60px);height:100%;padding-bottom:60px;background-color:#fff;z-index:999;overflow-y:auto;will-change:transform;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform:translateX(-105%);transform:translateX(-105%)}.side-nav.right-aligned{right:0;-webkit-transform:translateX(105%);transform:translateX(105%);left:auto;-webkit-transform:translateX(100%);transform:translateX(100%)}.side-nav .collapsible{margin:0}.side-nav li{float:none;line-height:48px}.side-nav li.active{background-color:rgba(0,0,0,.05)}.side-nav li>a{color:rgba(0,0,0,.87);display:block;font-size:14px;font-weight:500;height:48px;line-height:48px;padding:0 32px}.side-nav li>a:hover{background-color:rgba(0,0,0,.05)}.side-nav li>a.btn,.side-nav li>a.btn-flat,.side-nav li>a.btn-floating,.side-nav li>a.btn-large{margin:10px 15px}.side-nav li>a.btn,.side-nav li>a.btn-floating,.side-nav li>a.btn-large{color:#fff}.side-nav li>a.btn-flat{color:#343434}.side-nav li>a.btn-large:hover,.side-nav li>a.btn:hover{background-color:#2bbbad}.side-nav li>a.btn-floating:hover{background-color:#26a69a}.side-nav li>a>[class^=mdi-],.side-nav li>a>i,.side-nav li>a>i.material-icons,.side-nav li>a li>a>[class*=mdi-]{float:left;height:48px;line-height:48px;margin:0 32px 0 0;width:24px;color:rgba(0,0,0,.54)}.side-nav .divider{margin:8px 0 0}.side-nav .subheader{cursor:auto;pointer-events:none;color:rgba(0,0,0,.54);font-size:14px;font-weight:500;line-height:48px}.side-nav .subheader:hover{background-color:transparent}.side-nav .userView{position:relative;padding:32px 32px 0;margin-bottom:8px}.side-nav .userView>a{height:auto;padding:0}.side-nav .userView>a:hover{background-color:transparent}.side-nav .userView .background{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1}.side-nav .userView .circle,.side-nav .userView .email,.side-nav .userView .name{display:block}.side-nav .userView .circle{height:64px;width:64px}.side-nav .userView .email,.side-nav .userView .name{font-size:14px;line-height:24px}.side-nav .userView .name{margin-top:16px;font-weight:500}.side-nav .userView .email{padding-bottom:16px;font-weight:400}.drag-target{height:100%;width:10px;position:fixed;top:0;z-index:998}.side-nav.fixed{left:0;-webkit-transform:translateX(0);transform:translateX(0);position:fixed}.side-nav.fixed.right-aligned{right:0;left:auto}@media only screen and (max-width:992px){.side-nav.fixed{-webkit-transform:translateX(-105%);transform:translateX(-105%)}.side-nav.fixed.right-aligned{-webkit-transform:translateX(105%);transform:translateX(105%)}.side-nav a{padding:0 16px}.side-nav .userView{padding:16px 16px 0}}.side-nav .collapsible-body>ul:not(.collapsible)>li.active,.side-nav.fixed .collapsible-body>ul:not(.collapsible)>li.active{background-color:#ee6e73}.side-nav .collapsible-body>ul:not(.collapsible)>li.active a,.side-nav.fixed .collapsible-body>ul:not(.collapsible)>li.active a{color:#fff}.side-nav .collapsible-body{padding:0}#sidenav-overlay{position:fixed;top:0;left:0;right:0;height:120vh;background-color:rgba(0,0,0,.5);z-index:997;will-change:opacity}.preloader-wrapper{display:inline-block;position:relative;width:50px;height:50px}.preloader-wrapper.small{width:36px;height:36px}.preloader-wrapper.big{width:64px;height:64px}.preloader-wrapper.active{-webkit-animation:container-rotate 1568ms linear infinite;animation:container-rotate 1568ms linear infinite}@-webkit-keyframes container-rotate{to{-webkit-transform:rotate(1turn)}}@keyframes container-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.spinner-layer{position:absolute;width:100%;height:100%;opacity:0;border-color:#26a69a}.spinner-blue,.spinner-blue-only{border-color:#4285f4}.spinner-red,.spinner-red-only{border-color:#db4437}.spinner-yellow,.spinner-yellow-only{border-color:#f4b400}.spinner-green,.spinner-green-only{border-color:#0f9d58}.active .spinner-layer.spinner-blue{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,blue-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,blue-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer.spinner-red{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,red-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,red-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer.spinner-yellow{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,yellow-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer.spinner-green{-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,green-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both,green-fade-in-out 5332ms cubic-bezier(.4,0,.2,1) infinite both}.active .spinner-layer,.active .spinner-layer.spinner-blue-only,.active .spinner-layer.spinner-green-only,.active .spinner-layer.spinner-red-only,.active .spinner-layer.spinner-yellow-only{opacity:1;-webkit-animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both;animation:fill-unfill-rotate 5332ms cubic-bezier(.4,0,.2,1) infinite both}@-webkit-keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg)}to{-webkit-transform:rotate(3turn)}}@keyframes fill-unfill-rotate{12.5%{-webkit-transform:rotate(135deg);transform:rotate(135deg)}25%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}37.5%{-webkit-transform:rotate(405deg);transform:rotate(405deg)}50%{-webkit-transform:rotate(540deg);transform:rotate(540deg)}62.5%{-webkit-transform:rotate(675deg);transform:rotate(675deg)}75%{-webkit-transform:rotate(810deg);transform:rotate(810deg)}87.5%{-webkit-transform:rotate(945deg);transform:rotate(945deg)}to{-webkit-transform:rotate(3turn);transform:rotate(3turn)}}@-webkit-keyframes blue-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes blue-fade-in-out{0%{opacity:1}25%{opacity:1}26%{opacity:0}89%{opacity:0}90%{opacity:1}to{opacity:1}}@-webkit-keyframes red-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@keyframes red-fade-in-out{0%{opacity:0}15%{opacity:0}25%{opacity:1}50%{opacity:1}51%{opacity:0}}@-webkit-keyframes yellow-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@keyframes yellow-fade-in-out{0%{opacity:0}40%{opacity:0}50%{opacity:1}75%{opacity:1}76%{opacity:0}}@-webkit-keyframes green-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}@keyframes green-fade-in-out{0%{opacity:0}65%{opacity:0}75%{opacity:1}90%{opacity:1}to{opacity:0}}.gap-patch{position:absolute;top:0;left:45%;width:10%;height:100%;overflow:hidden;border-color:inherit}.gap-patch .circle{width:1000%;left:-450%}.circle-clipper{display:inline-block;position:relative;width:50%;height:100%;overflow:hidden;border-color:inherit}.circle-clipper .circle{width:200%;height:100%;border-width:3px;border-style:solid;border-color:inherit;border-bottom-color:transparent!important;border-radius:50%;-webkit-animation:none;animation:none;position:absolute;top:0;right:0;bottom:0}.circle-clipper.left .circle{left:0;border-right-color:transparent!important;-webkit-transform:rotate(129deg);transform:rotate(129deg)}.circle-clipper.right .circle{left:-100%;border-left-color:transparent!important;-webkit-transform:rotate(-129deg);transform:rotate(-129deg)}.active .circle-clipper.left .circle{-webkit-animation:left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both;animation:left-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}.active .circle-clipper.right .circle{-webkit-animation:right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both;animation:right-spin 1333ms cubic-bezier(.4,0,.2,1) infinite both}@-webkit-keyframes left-spin{0%{-webkit-transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg)}}@keyframes left-spin{0%{-webkit-transform:rotate(130deg);transform:rotate(130deg)}50%{-webkit-transform:rotate(-5deg);transform:rotate(-5deg)}to{-webkit-transform:rotate(130deg);transform:rotate(130deg)}}@-webkit-keyframes right-spin{0%{-webkit-transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg)}}@keyframes right-spin{0%{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}50%{-webkit-transform:rotate(5deg);transform:rotate(5deg)}to{-webkit-transform:rotate(-130deg);transform:rotate(-130deg)}}#spinnerContainer.cooldown{-webkit-animation:container-rotate 1568ms linear infinite,fade-out .4s cubic-bezier(.4,0,.2,1);animation:container-rotate 1568ms linear infinite,fade-out .4s cubic-bezier(.4,0,.2,1)}@-webkit-keyframes fade-out{0%{opacity:1}to{opacity:0}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}.slider{position:relative;height:400px;width:100%}.slider.fullscreen{height:100%;width:100%;position:absolute;top:0;left:0;right:0;bottom:0}.slider.fullscreen ul.slides{height:100%}.slider.fullscreen ul.indicators{z-index:2;bottom:30px}.slider .slides{background-color:#9e9e9e;margin:0;height:400px}.slider .slides li{opacity:0;position:absolute;top:0;left:0;z-index:1;width:100%;height:inherit;overflow:hidden}.slider .slides li img{height:100%;width:100%;background-size:cover;background-position:50%}.slider .slides li .caption{color:#fff;position:absolute;top:15%;left:15%;width:70%;opacity:0}.slider .slides li .caption p{color:#e0e0e0}.slider .slides li.active{z-index:2}.slider .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.slider .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:16px;width:16px;margin:0 12px;background-color:#e0e0e0;transition:background-color .3s;border-radius:50%}.slider .indicators .indicator-item.active{background-color:#4caf50}.carousel{overflow:hidden;position:relative;width:100%;height:400px;-webkit-perspective:500px;perspective:500px;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transform-origin:0 50%;transform-origin:0 50%}.carousel.carousel-slider{top:0;left:0;height:0}.carousel.carousel-slider .carousel-fixed-item{position:absolute;left:0;right:0;bottom:20px;z-index:1}.carousel.carousel-slider .carousel-fixed-item.with-indicators{bottom:68px}.carousel.carousel-slider .carousel-item{width:100%;height:100%;min-height:400px;position:absolute;top:0;left:0}.carousel.carousel-slider .carousel-item h2{font-size:24px;font-weight:500;line-height:32px}.carousel.carousel-slider .carousel-item p{font-size:15px}.carousel .carousel-item{display:none;width:200px;height:200px;position:absolute;top:0;left:0}.carousel .carousel-item>img{width:100%}.carousel .indicators{position:absolute;text-align:center;left:0;right:0;bottom:0;margin:0}.carousel .indicators .indicator-item{display:inline-block;position:relative;cursor:pointer;height:8px;width:8px;margin:24px 4px;background-color:hsla(0,0%,100%,.5);transition:background-color .3s;border-radius:50%}.carousel .indicators .indicator-item.active{background-color:#fff}.carousel .carousel-item:not(.active) .materialboxed,.carousel.scrolling .carousel-item .materialboxed{pointer-events:none}.tap-target-wrapper{width:800px;height:800px;position:fixed;z-index:1000;visibility:hidden;transition:visibility 0s .3s}.tap-target-wrapper.open{visibility:visible;transition:visibility 0s}.tap-target-wrapper.open .tap-target{opacity:.95;transition:opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out,opacity .3s ease-in-out;transition:transform .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out}.tap-target-wrapper.open .tap-target,.tap-target-wrapper.open .tap-target-wave:before{-webkit-transform:scale(1);transform:scale(1)}.tap-target-wrapper.open .tap-target-wave:after{visibility:visible;-webkit-animation:pulse-animation 1s cubic-bezier(.24,0,.38,1) infinite;animation:pulse-animation 1s cubic-bezier(.24,0,.38,1) infinite;transition:opacity .3s,visibility 0s 1s,-webkit-transform .3s;transition:opacity .3s,transform .3s,visibility 0s 1s;transition:opacity .3s,transform .3s,visibility 0s 1s,-webkit-transform .3s}.tap-target{position:absolute;font-size:1rem;border-radius:50%;background-color:#ee6e73;box-shadow:0 20px 20px 0 rgba(0,0,0,.14),0 10px 50px 0 rgba(0,0,0,.12),0 30px 10px -20px rgba(0,0,0,.2);width:100%;height:100%;opacity:0;-webkit-transform:scale(0);transform:scale(0);transition:opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out,opacity .3s ease-in-out;transition:transform .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out}.tap-target-content{position:relative;display:table-cell}.tap-target-wave{position:absolute;border-radius:50%;z-index:10001}.tap-target-wave:after,.tap-target-wave:before{content:"";display:block;position:absolute;width:100%;height:100%;border-radius:50%;background-color:#fff}.tap-target-wave:before{-webkit-transform:scale(0);transform:scale(0);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.tap-target-wave:after{visibility:hidden;transition:opacity .3s,visibility 0s,-webkit-transform .3s;transition:opacity .3s,transform .3s,visibility 0s;transition:opacity .3s,transform .3s,visibility 0s,-webkit-transform .3s;z-index:-1}.tap-target-origin{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:10002;position:absolute!important}.tap-target-origin:not(.btn):not(.btn-large),.tap-target-origin:not(.btn):not(.btn-large):hover{background:none}@media only screen and (max-width:600px){.tap-target,.tap-target-wrapper{width:600px;height:600px}}.pulse{overflow:initial;position:relative}.pulse:before{content:"";display:block;position:absolute;width:100%;height:100%;top:0;left:0;background-color:inherit;border-radius:inherit;transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-animation:pulse-animation 1s cubic-bezier(.24,0,.38,1) infinite;animation:pulse-animation 1s cubic-bezier(.24,0,.38,1) infinite;z-index:-1}@-webkit-keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}to{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}@keyframes pulse-animation{0%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}50%{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}to{opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}.picker{font-size:16px;text-align:left;line-height:1.2;color:#000;position:absolute;z-index:10000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.picker__input{cursor:default}.picker__input.picker__input--active{border-color:#0089ec}.picker__holder{width:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.picker__frame,.picker__holder{bottom:0;left:0;right:0;top:100%}.picker__holder{position:fixed;transition:background .15s ease-out,top 0s .15s;-webkit-backface-visibility:hidden}.picker__frame{position:absolute;min-width:256px;width:300px;max-height:350px;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);-moz-opacity:0;opacity:0;transition:all .15s ease-out}@media (min-height:28.875em){.picker__frame{overflow:visible;top:auto;bottom:-100%;max-height:80%}}@media (min-height:40.125em){.picker__frame{margin-bottom:7.5%}}.picker__wrap{display:table;width:100%;height:100%}@media (min-height:28.875em){.picker__wrap{display:block}}.picker__box{background:#fff;display:table-cell;vertical-align:middle}@media (min-height:28.875em){.picker__box{display:block;border:1px solid #777;border-top-color:#898989;border-bottom-width:0;border-radius:5px 5px 0 0;box-shadow:0 12px 36px 16px rgba(0,0,0,.24)}}.picker--opened .picker__holder{top:0;background:transparent;-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#1E000000,endColorstr=#1E000000)";zoom:1;background:rgba(0,0,0,.32);transition:background .15s ease-out}.picker--opened .picker__frame{top:0;-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";filter:alpha(opacity=100);-moz-opacity:1;opacity:1}@media (min-height:35.875em){.picker--opened .picker__frame{top:10%;bottom:auto}}.picker__input.picker__input--active{border-color:#e3f2fd}.picker__frame{margin:0 auto;max-width:325px}@media (min-height:38.875em){.picker--opened .picker__frame{top:10%;bottom:auto}}.picker__box{padding:0 1em}.picker__header{text-align:center;position:relative;margin-top:.75em}.picker__month,.picker__year{display:inline-block;margin-left:.25em;margin-right:.25em}.picker__select--month,.picker__select--year{height:2em;padding:0;margin-left:.25em;margin-right:.25em}.picker__select--month.browser-default{display:inline;background-color:#fff;width:40%}.picker__select--year.browser-default{display:inline;background-color:#fff;width:26%}.picker__select--month:focus,.picker__select--year:focus{border-color:rgba(0,0,0,.05)}.picker__nav--next,.picker__nav--prev{position:absolute;padding:.5em 1.25em;width:1em;height:1em;box-sizing:content-box;top:-.25em}.picker__nav--prev{left:-1em;padding-right:1.25em}.picker__nav--next{right:-1em;padding-left:1.25em}.picker__nav--disabled,.picker__nav--disabled:before,.picker__nav--disabled:before:hover,.picker__nav--disabled:hover{cursor:default;background:none;border-right-color:#f5f5f5;border-left-color:#f5f5f5}.picker__table{border-collapse:collapse;border-spacing:0;table-layout:fixed;font-size:1rem;width:100%;margin-top:.75em}.picker__table,.picker__table td,.picker__table th{text-align:center}.picker__table td{margin:0;padding:0}.picker__weekday{width:14.285714286%;font-size:.75em;padding-bottom:.25em;color:#999;font-weight:500}@media (min-height:33.875em){.picker__weekday{padding-bottom:.5em}}.picker__day--today{position:relative;color:#595959;letter-spacing:-.3;padding:.75rem 0;font-weight:400;border:1px solid transparent}.picker__day--disabled:before{border-top-color:#aaa}.picker__day--infocus:hover{cursor:pointer;color:#000;font-weight:500}.picker__day--outfocus{display:none;padding:.75rem 0;color:#fff}.picker__day--outfocus:hover{cursor:pointer;color:#ddd;font-weight:500}.picker--focused .picker__day--highlighted,.picker__day--highlighted:hover{cursor:pointer}.picker--focused .picker__day--selected,.picker__day--selected,.picker__day--selected:hover{-webkit-transform:scale(.75);transform:scale(.75);background:#0089ec}.picker--focused .picker__day--disabled,.picker__day--disabled,.picker__day--disabled:hover{background:#f5f5f5;border-color:#f5f5f5;color:#ddd;cursor:default}.picker__day--highlighted.picker__day--disabled,.picker__day--highlighted.picker__day--disabled:hover{background:#bbb}.picker__footer{text-align:center;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.picker__button--clear,.picker__button--close,.picker__button--today{border:1px solid #fff;background:#fff;font-size:.8em;padding:.66em 0;font-weight:700;width:33%;display:inline-block;vertical-align:bottom}.picker__button--clear:hover,.picker__button--close:hover,.picker__button--today:hover{cursor:pointer;color:#000;background:#b1dcfb;border-bottom-color:#b1dcfb}.picker__button--clear:focus,.picker__button--close:focus,.picker__button--today:focus{background:#b1dcfb;border-color:rgba(0,0,0,.05);outline:none}.picker__button--clear:before,.picker__button--close:before,.picker__button--today:before{position:relative;display:inline-block;height:0}.picker__button--clear:before,.picker__button--today:before{content:" ";margin-right:.45em}.picker__button--today:before{top:-.05em;width:0;border-top:.66em solid #0059bc;border-left:.66em solid transparent}.picker__button--clear:before{top:-.25em;width:.66em;border-top:3px solid #e20}.picker__button--close:before{content:"\D7";top:-.1em;vertical-align:top;font-size:1.1em;margin-right:.35em;color:#777}.picker__button--today[disabled],.picker__button--today[disabled]:hover{background:#f5f5f5;border-color:#f5f5f5;color:#ddd;cursor:default}.picker__button--today[disabled]:before{border-top-color:#aaa}.picker__box{border-radius:2px;overflow:hidden}.picker__date-display{text-align:center;background-color:#26a69a;color:#fff;padding-bottom:15px;font-weight:300}.picker__nav--next:hover,.picker__nav--prev:hover{cursor:pointer;color:#000;background:#a1ded8}.picker__weekday-display{background-color:#1f897f;padding:10px;font-weight:200;letter-spacing:.5;font-size:1rem;margin-bottom:15px}.picker__month-display{text-transform:uppercase;font-size:2rem}.picker__day-display{font-size:4.5rem;font-weight:400}.picker__year-display{font-size:1.8rem;color:hsla(0,0%,100%,.4)}.picker__box{padding:0}.picker__calendar-container{padding:0 1rem}.picker__calendar-container thead{border:none}.picker__table{margin-top:0;margin-bottom:.5em}.picker__day--infocus{color:#595959;letter-spacing:-.3;padding:.75rem 0;font-weight:400;border:1px solid transparent}.picker__day.picker__day--today{color:#26a69a}.picker__day.picker__day--today.picker__day--selected{color:#fff}.picker__weekday{font-size:.9rem}.picker--focused .picker__day--selected,.picker__day--selected,.picker__day--selected:hover{border-radius:50%;-webkit-transform:scale(.9);transform:scale(.9);background-color:#26a69a;color:#fff}.picker--focused .picker__day--selected.picker__day--outfocus,.picker__day--selected.picker__day--outfocus,.picker__day--selected:hover.picker__day--outfocus{background-color:#a1ded8}.picker__footer{text-align:right;padding:5px 10px}.picker__close,.picker__today{font-size:1.1rem;padding:0 1rem;color:#26a69a}.picker__nav--next:before,.picker__nav--prev:before{content:" ";border-top:.5em solid transparent;border-bottom:.5em solid transparent;border-right:.75em solid #676767;width:0;height:0;display:block;margin:0 auto}.picker__nav--next:before{border-right:0;border-left:.75em solid #676767}button.picker__clear:focus,button.picker__close:focus,button.picker__today:focus{background-color:#a1ded8}.picker__list{list-style:none;padding:.75em 0 4.2em;margin:0}.picker__list-item{border-bottom:1px solid #ddd;border-top:1px solid #ddd;margin-bottom:-1px;position:relative;background:#fff;padding:.75em 1.25em}@media (min-height:46.75em){.picker__list-item{padding:.5em 1em}}.picker__list-item:hover{cursor:pointer;color:#000;background:#b1dcfb}.picker__list-item--highlighted,.picker__list-item:hover{border-color:#0089ec;z-index:10}.picker--focused .picker__list-item--highlighted,.picker__list-item--highlighted:hover{cursor:pointer;color:#000;background:#b1dcfb}.picker--focused .picker__list-item--selected,.picker__list-item--selected,.picker__list-item--selected:hover{background:#0089ec;color:#fff;z-index:10}.picker--focused .picker__list-item--disabled,.picker__list-item--disabled,.picker__list-item--disabled:hover{background:#f5f5f5;border-color:#f5f5f5;color:#ddd;cursor:default;border-color:#ddd;z-index:auto}.picker--time .picker__button--clear{display:block;width:80%;margin:1em auto 0;padding:1em 1.25em;background:none;border:0;font-weight:500;font-size:.67em;text-align:center;text-transform:uppercase;color:#666}.picker--time .picker__button--clear:focus,.picker--time .picker__button--clear:hover{color:#000;background:#b1dcfb;background:#e20;border-color:#e20;cursor:pointer;color:#fff;outline:none}.picker--time .picker__button--clear:before{top:-.25em;color:#666;font-size:1.25em;font-weight:700}.picker--time .picker__button--clear:focus:before,.picker--time .picker__button--clear:hover:before{color:#fff}.picker--time .picker__frame{min-width:256px;max-width:320px}.picker--time .picker__box{font-size:1em;background:#f2f2f2;padding:0}@media (min-height:40.125em){.picker--time .picker__box{margin-bottom:5em}}.annotator-filter *,.annotator-notice,.annotator-widget *{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-weight:400;text-align:left;margin:0;padding:0;background:none;-webkit-transition:none;-moz-transition:none;-o-transition:none;transition:none;-moz-box-shadow:none;-webkit-box-shadow:none;-o-box-shadow:none;box-shadow:none;color:#909090}.annotator-adder{background-image:url(/bundles/wallabagcore/img/annotator-icon-sprite.png);background-repeat:no-repeat}.annotator-editor a:after,.annotator-filter .annotator-filter-navigation button:after,.annotator-filter .annotator-filter-property .annotator-filter-clear,.annotator-resize,.annotator-viewer .annotator-controls a,.annotator-viewer .annotator-controls button,.annotator-widget:after{background-image:url(/bundles/wallabagcore/img/annotator-glyph-sprite.png);background-repeat:no-repeat}.annotator-hl{background:#ffff0a;background:rgba(255,255,10,.3);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4DFFFF0A, endColorstr=#4DFFFF0A)"}.annotator-hl-temporary{background:#007cff;background:rgba(0,124,255,.3);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#4D007CFF, endColorstr=#4D007CFF)"}.annotator-wrapper{position:relative}.annotator-adder,.annotator-notice,.annotator-outer{z-index:1020}.annotator-filter{z-index:1010}.annotator-adder,.annotator-notice,.annotator-outer,.annotator-widget{position:absolute;font-size:10px;line-height:1}.annotator-hide{display:none;visibility:hidden}.annotator-adder{margin-top:-48px;margin-left:-24px;width:48px;height:48px;background-position:0 0}.annotator-adder:hover{background-position:top}.annotator-adder:active{background-position:100%}.annotator-adder button{display:block;width:36px;height:41px;margin:0 auto;border:none;background:none;text-indent:-999em;cursor:pointer}.annotator-outer{width:0;height:0}.annotator-widget{margin:0;padding:0;bottom:15px;left:-18px;min-width:265px;background-color:#fbfbfb;background-color:hsla(0,0%,98%,.98);border:1px solid #7a7a7a;border:1px solid hsla(0,0%,48%,.6);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 15px rgba(0,0,0,.2);-moz-box-shadow:0 5px 15px rgba(0,0,0,.2);-o-box-shadow:0 5px 15px rgba(0,0,0,.2);box-shadow:0 5px 15px rgba(0,0,0,.2)}.annotator-invert-x .annotator-widget{left:auto;right:-18px}.annotator-invert-y .annotator-widget{bottom:auto;top:8px}.annotator-widget strong{font-weight:700}.annotator-widget .annotator-item,.annotator-widget .annotator-listing{padding:0;margin:0;list-style:none}.annotator-widget:after{content:"";display:block;width:18px;height:10px;background-position:0 0;position:absolute;bottom:-10px;left:8px}.annotator-invert-x .annotator-widget:after{left:auto;right:8px}.annotator-invert-y .annotator-widget:after{background-position:0 -15px;bottom:auto;top:-9px}.annotator-editor .annotator-item input,.annotator-editor .annotator-item textarea,.annotator-widget .annotator-item{position:relative;font-size:12px}.annotator-viewer .annotator-item{border-top:2px solid #7a7a7a;border-top:2px solid hsla(0,0%,48%,.2)}.annotator-widget .annotator-item:first-child{border-top:none}.annotator-editor .annotator-item,.annotator-viewer div{border-top:1px solid #858585;border-top:1px solid hsla(0,0%,52%,.11)}.annotator-viewer div{padding:6px}.annotator-viewer .annotator-item ol,.annotator-viewer .annotator-item ul{padding:4px 16px}.annotator-editor .annotator-item:first-child textarea,.annotator-viewer div:first-of-type{padding-top:12px;padding-bottom:12px;color:#3c3c3c;font-size:13px;font-style:italic;line-height:1.3;border-top:none}.annotator-viewer .annotator-controls{position:relative;top:5px;right:5px;padding-left:5px;opacity:0;-webkit-transition:opacity .2s ease-in;-moz-transition:opacity .2s ease-in;-o-transition:opacity .2s ease-in;transition:opacity .2s ease-in;float:right}.annotator-viewer li .annotator-controls.annotator-visible,.annotator-viewer li:hover .annotator-controls{opacity:1}.annotator-viewer .annotator-controls a,.annotator-viewer .annotator-controls button{cursor:pointer;display:inline-block;width:13px;height:13px;margin-left:2px;border:none;opacity:.2;text-indent:-900em;background-color:transparent;outline:none}.annotator-viewer .annotator-controls a:focus,.annotator-viewer .annotator-controls a:hover,.annotator-viewer .annotator-controls button:focus,.annotator-viewer .annotator-controls button:hover{opacity:.9}.annotator-viewer .annotator-controls a:active,.annotator-viewer .annotator-controls button:active{opacity:1}.annotator-viewer .annotator-controls button[disabled]{display:none}.annotator-viewer .annotator-controls .annotator-edit{background-position:0 -60px}.annotator-viewer .annotator-controls .annotator-delete{background-position:0 -75px}.annotator-viewer .annotator-controls .annotator-link{background-position:0 -270px}.annotator-editor .annotator-item{position:relative}.annotator-editor .annotator-item label{top:0;display:inline;cursor:pointer;font-size:12px}.annotator-editor .annotator-item input,.annotator-editor .annotator-item textarea{display:block;min-width:100%;padding:10px 8px;border:none;margin:0;color:#3c3c3c;background:none;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;resize:none}.annotator-editor .annotator-item textarea::-webkit-scrollbar{height:8px;width:8px}.annotator-editor .annotator-item textarea::-webkit-scrollbar-track-piece{margin:13px 0 3px;background-color:#e5e5e5;-webkit-border-radius:4px}.annotator-editor .annotator-item textarea::-webkit-scrollbar-thumb:vertical{height:25px;background-color:#ccc;-webkit-border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.1)}.annotator-editor .annotator-item textarea::-webkit-scrollbar-thumb:horizontal{width:25px;background-color:#ccc;-webkit-border-radius:4px}.annotator-editor .annotator-item:first-child textarea{min-height:5.5em;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;-o-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.annotator-editor .annotator-item input:focus,.annotator-editor .annotator-item textarea:focus{background-color:#f3f3f3;outline:none}.annotator-editor .annotator-item input[type=checkbox],.annotator-editor .annotator-item input[type=radio]{width:auto;min-width:0;padding:0;display:inline;margin:0 4px 0 0;cursor:pointer}.annotator-editor .annotator-checkbox{padding:8px 6px}.annotator-editor .annotator-controls,.annotator-filter,.annotator-filter .annotator-filter-navigation button{text-align:right;padding:3px;border-top:1px solid #d4d4d4;background-color:#d4d4d4;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),color-stop(.6,#dcdcdc),to(#d2d2d2));background-image:-moz-linear-gradient(to bottom,#f5f5f5,#dcdcdc 60%,#d2d2d2);background-image:-webkit-linear-gradient(180deg,#f5f5f5,#dcdcdc 60%,#d2d2d2);background-image:linear-gradient(180deg,#f5f5f5,#dcdcdc 60%,#d2d2d2);-webkit-box-shadow:inset 1px 0 0 hsla(0,0%,100%,.7),inset -1px 0 0 hsla(0,0%,100%,.7),inset 0 1px 0 hsla(0,0%,100%,.7);-moz-box-shadow:inset 1px 0 0 hsla(0,0%,100%,.7),inset -1px 0 0 hsla(0,0%,100%,.7),inset 0 1px 0 hsla(0,0%,100%,.7);-o-box-shadow:inset 1px 0 0 hsla(0,0%,100%,.7),inset -1px 0 0 hsla(0,0%,100%,.7),inset 0 1px 0 hsla(0,0%,100%,.7);box-shadow:inset 1px 0 0 hsla(0,0%,100%,.7),inset -1px 0 0 hsla(0,0%,100%,.7),inset 0 1px 0 hsla(0,0%,100%,.7);-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;-o-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px}.annotator-editor.annotator-invert-y .annotator-controls{border-top:none;border-bottom:1px solid #b4b4b4;-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;-o-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0}.annotator-editor a,.annotator-filter .annotator-filter-property label{position:relative;display:inline-block;padding:0 6px 0 22px;color:#363636;text-shadow:0 1px 0 hsla(0,0%,100%,.75);text-decoration:none;line-height:24px;font-size:12px;font-weight:700;border:1px solid #a2a2a2;background-color:#d4d4d4;background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),color-stop(.5,#d2d2d2),color-stop(.5,#bebebe),to(#d2d2d2));background-image:-moz-linear-gradient(to bottom,#f5f5f5,#d2d2d2 50%,#bebebe 50%,#d2d2d2);background-image:-webkit-linear-gradient(180deg,#f5f5f5,#d2d2d2 50%,#bebebe 0,#d2d2d2);background-image:linear-gradient(180deg,#f5f5f5,#d2d2d2 50%,#bebebe 0,#d2d2d2);-webkit-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-moz-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-o-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-webkit-border-radius:5px;-moz-border-radius:5px;-o-border-radius:5px;border-radius:5px}.annotator-editor a:after{position:absolute;top:50%;left:5px;display:block;content:"";width:15px;height:15px;margin-top:-7px;background-position:0 -90px}.annotator-editor a.annotator-focus,.annotator-editor a:focus,.annotator-editor a:hover,.annotator-filter .annotator-filter-active label,.annotator-filter .annotator-filter-navigation button:hover{outline:none;border-color:#435aa0;background-color:#3865f9;background-image:-webkit-gradient(linear,left top,left bottom,from(#7691fb),color-stop(.5,#5075fb),color-stop(.5,#3865f9),to(#3665fa));background-image:-moz-linear-gradient(to bottom,#7691fb,#5075fb 50%,#3865f9 50%,#3665fa);background-image:-webkit-linear-gradient(180deg,#7691fb,#5075fb 50%,#3865f9 0,#3665fa);background-image:linear-gradient(180deg,#7691fb,#5075fb 50%,#3865f9 0,#3665fa);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.42)}.annotator-editor a:focus:after,.annotator-editor a:hover:after{margin-top:-8px;background-position:0 -105px}.annotator-editor a:active,.annotator-filter .annotator-filter-navigation button:active{border-color:#700c49;background-color:#d12e8e;background-image:-webkit-gradient(linear,left top,left bottom,from(#fc7cca),color-stop(.5,#e85db2),color-stop(.5,#d12e8e),to(#ff009c));background-image:-moz-linear-gradient(to bottom,#fc7cca,#e85db2 50%,#d12e8e 50%,#ff009c);background-image:-webkit-linear-gradient(180deg,#fc7cca,#e85db2 50%,#d12e8e 0,#ff009c);background-image:linear-gradient(180deg,#fc7cca,#e85db2 50%,#d12e8e 0,#ff009c)}.annotator-editor a.annotator-save:after{background-position:0 -120px}.annotator-editor a.annotator-save.annotator-focus:after,.annotator-editor a.annotator-save:focus:after,.annotator-editor a.annotator-save:hover:after{margin-top:-8px;background-position:0 -135px}.annotator-editor .annotator-widget:after{background-position:0 -30px}.annotator-editor.annotator-invert-y .annotator-widget .annotator-controls{background-color:#f2f2f2}.annotator-editor.annotator-invert-y .annotator-widget:after{background-position:0 -45px;height:11px}.annotator-resize{position:absolute;top:0;right:0;width:12px;height:12px;background-position:2px -150px}.annotator-invert-x .annotator-resize{right:auto;left:0;background-position:0 -195px}.annotator-invert-y .annotator-resize{top:auto;bottom:0;background-position:2px -165px}.annotator-invert-y.annotator-invert-x .annotator-resize{background-position:0 -180px}.annotator-notice{color:#fff;position:fixed;top:-54px;left:0;width:100%;font-size:14px;line-height:50px;text-align:center;background:#000;background:rgba(0,0,0,.9);border-bottom:4px solid #d4d4d4;-webkit-transition:top .4s ease-out;-moz-transition:top .4s ease-out;-o-transition:top .4s ease-out;transition:top .4s ease-out}.annotator-notice-success{border-color:#3665f9}.annotator-notice-error{border-color:#ff7e00}.annotator-notice p{margin:0}.annotator-notice a{color:#fff}.annotator-notice-show{top:0}.annotator-tags{margin-bottom:-2px}.annotator-tags .annotator-tag{display:inline-block;padding:0 8px;margin-bottom:2px;line-height:1.6;font-weight:700;background-color:#e6e6e6;-webkit-border-radius:8px;-moz-border-radius:8px;-o-border-radius:8px;border-radius:8px}.annotator-filter{position:fixed;top:0;right:0;left:0;text-align:left;line-height:0;border:none;border-bottom:1px solid #878787;padding-left:10px;padding-right:10px;-webkit-border-radius:0;-moz-border-radius:0;-o-border-radius:0;border-radius:0;-webkit-box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.3);-moz-box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.3);-o-box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.3);box-shadow:inset 0 -1px 0 hsla(0,0%,100%,.3)}.annotator-filter strong{font-size:12px;font-weight:700;color:#3c3c3c;text-shadow:0 1px 0 hsla(0,0%,100%,.7);position:relative;top:-9px}.annotator-filter .annotator-filter-navigation,.annotator-filter .annotator-filter-property{position:relative;display:inline-block;overflow:hidden;line-height:10px;padding:2px 0;margin-right:8px}.annotator-filter .annotator-filter-navigation button,.annotator-filter .annotator-filter-property label{text-align:left;display:block;float:left;line-height:20px;-webkit-border-radius:10px 0 0 10px;-moz-border-radius:10px 0 0 10px;-o-border-radius:10px 0 0 10px;border-radius:10px 0 0 10px}.annotator-filter .annotator-filter-property label{padding-left:8px}.annotator-filter .annotator-filter-property input{display:block;float:right;-webkit-appearance:none;background-color:#fff;border:1px solid #878787;border-left:none;padding:2px 4px;line-height:16px;min-height:16px;font-size:12px;width:150px;color:#333;background-color:#f8f8f8;-webkit-border-radius:0 10px 10px 0;-moz-border-radius:0 10px 10px 0;-o-border-radius:0 10px 10px 0;border-radius:0 10px 10px 0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.2);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,.2);-o-box-shadow:inset 0 1px 1px rgba(0,0,0,.2);box-shadow:inset 0 1px 1px rgba(0,0,0,.2)}.annotator-filter .annotator-filter-property input:focus{outline:none;background-color:#fff}.annotator-filter .annotator-filter-clear{position:absolute;right:3px;top:6px;border:none;text-indent:-900em;width:15px;height:15px;background-position:0 -90px;opacity:.4}.annotator-filter .annotator-filter-clear:focus,.annotator-filter .annotator-filter-clear:hover{opacity:.8}.annotator-filter .annotator-filter-clear:active{opacity:1}.annotator-filter .annotator-filter-navigation button{border:1px solid #a2a2a2;padding:0;text-indent:-900px;width:20px;min-height:22px;-webkit-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-moz-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);-o-box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8);box-shadow:inset 0 0 5px hsla(0,0%,100%,.2),inset 0 0 1px hsla(0,0%,100%,.8)}.annotator-filter .annotator-filter-navigation button,.annotator-filter .annotator-filter-navigation button:focus,.annotator-filter .annotator-filter-navigation button:hover{color:transparent}.annotator-filter .annotator-filter-navigation button:after{position:absolute;top:8px;left:8px;content:"";display:block;width:9px;height:9px;background-position:0 -210px}.annotator-filter .annotator-filter-navigation button:hover:after{background-position:0 -225px}.annotator-filter .annotator-filter-navigation .annotator-filter-next{-webkit-border-radius:0 10px 10px 0;-moz-border-radius:0 10px 10px 0;-o-border-radius:0 10px 10px 0;border-radius:0 10px 10px 0;border-left:none}.annotator-filter .annotator-filter-navigation .annotator-filter-next:after{left:auto;right:7px;background-position:0 -240px}.annotator-filter .annotator-filter-navigation .annotator-filter-next:hover:after{background-position:0 -255px}.annotator-hl-active{background:#ffff0a;background:rgba(255,255,10,.8);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFF0A, endColorstr=#CCFFFF0A)"}.annotator-hl-filtered{background-color:transparent}@font-face{font-family:Material Icons;font-style:normal;font-weight:400;src:url(/bundles/wallabagcore/fonts/MaterialIcons-Regular.eot);src:local("Material Icons"),local("MaterialIcons-Regular"),url(/bundles/wallabagcore/fonts/MaterialIcons-Regular.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/MaterialIcons-Regular.woff) format("woff"),url(/bundles/wallabagcore/fonts/MaterialIcons-Regular.ttf) format("truetype")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}@font-face{font-family:Lato;font-weight:100;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-hairline.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-hairline.woff) format("woff")}@font-face{font-family:Lato;font-weight:100;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-hairline-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-hairline-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:200;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-thin.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-thin.woff) format("woff")}@font-face{font-family:Lato;font-weight:200;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-thin-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-thin-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:300;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-light.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-light.woff) format("woff")}@font-face{font-family:Lato;font-weight:300;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-light-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-light-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:400;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-normal.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-normal.woff) format("woff")}@font-face{font-family:Lato;font-weight:400;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-normal-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-normal-italic.woff) format("woff")}@font-face{font-family:Lato Medium;font-weight:400;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-medium.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-medium.woff) format("woff")}@font-face{font-family:Lato Medium;font-weight:400;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-medium-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-medium-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:500;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-semibold.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-semibold.woff) format("woff")}@font-face{font-family:Lato;font-weight:500;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-semibold-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-semibold-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:600;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-bold.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-bold.woff) format("woff")}@font-face{font-family:Lato;font-weight:600;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-bold-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-bold-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:800;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-heavy.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-heavy.woff) format("woff")}@font-face{font-family:Lato;font-weight:800;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-heavy-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-heavy-italic.woff) format("woff")}@font-face{font-family:Lato;font-weight:900;font-style:normal;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-black.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-black.woff) format("woff")}@font-face{font-family:Lato;font-weight:900;font-style:italic;text-rendering:optimizeLegibility;src:url(/bundles/wallabagcore/fonts/lato-black-italic.woff2) format("woff2"),url(/bundles/wallabagcore/fonts/lato-black-italic.woff) format("woff")}.material-icons.md-18{font-size:18px}.material-icons.md-24{font-size:24px}.material-icons.md-36{font-size:36px}.material-icons.md-48{font-size:48px}.material-icons.md-dark{color:rgba(0,0,0,.54)}.material-icons.md-dark.md-inactive{color:rgba(0,0,0,.26)}.material-icons.md-light{color:#fff}.material-icons.md-light.md-inactive{color:hsla(0,0%,100%,.3)}#article{font-size:20px;margin:0 auto;max-width:45em}#article article{color:#424242;font-size:18px;line-height:1.7em}#article article h1,#article article h2,#article article h3,#article article h4,#article article h5,#article article h6{color:#212121}#article article h1 strong,#article article h2 strong,#article article h3 strong,#article article h4 strong,#article article h5 strong,#article article h6 strong{font-weight:500}#article article h6{font-size:1.2rem}#article article h5{font-size:1.6rem}#article article h4{font-size:1.9rem}#article article h3{font-size:2.2rem}#article article h2{font-size:2.5rem}#article article h1{font-size:2.7rem}#article article a{border-bottom:1px dotted #03a9f4;text-decoration:none}#article article a:hover{border-bottom-style:solid}#article article ul{padding-left:30px}#article article ul,#article article ul li{list-style-type:disc}#article article blockquote{font-style:italic}#article article strong{font-weight:700}#article figure,#article img{max-width:100%;height:auto}#article pre{box-sizing:border-box;margin:0 0 1.75em;border:1px solid #e3f2fd;width:100%;padding:10px;font-family:monospace;font-size:.8em;white-space:pre;overflow:auto;background:#f5f5f5;border-radius:3px}#article>header>h1{font-size:2em;margin:2.1rem 0 .68rem}#article aside .tools{display:flex;flex-flow:row wrap}#article aside .tools .stats{font-size:.8em;margin:8px 15px 5px}#article aside .tools .stats li{display:inline-flex;vertical-align:middle;margin:0 5px}#article aside .tools .stats a{color:#000;text-decoration:none}#article aside .tools .tags{float:right;margin:5px 15px 10px}#article aside .chip{background-color:rgba(0,151,167,.85);padding:0 15px 0 10px;margin:auto 2px;border-radius:6px}#article aside .chip a,#article aside .chip i{color:#fff}#article aside .chip i.material-icons{float:right;font-size:20px;line-height:32px;padding-left:8px}.reader-mode{width:70px!important;transition:width .2s ease}.reader-mode .collapsible-body{height:0;overflow:hidden}.reader-mode span{opacity:0;transition:opacity .2s ease}.reader-mode:hover{width:260px!important}.reader-mode:hover .collapsible-body{height:auto}.reader-mode:hover .collapsible-body li a i.material-icons{margin:auto 5px auto -8px}.reader-mode:hover span{opacity:1}.progress{position:fixed;top:0;width:100%;height:3px;margin:0;z-index:9999}main #content{padding:0 .5rem}main ul.row{padding:0 .75rem}.data .card .card-body{height:19em;overflow:hidden}.card .card-content .card-title,.card .card-reveal .card-title{line-height:22.8px;max-height:80px;font-size:19px;font-family:roberto,Helvetica Neue,Helvetica,Arial,sans-serif;color:#313131}.card .card-stacked .card-content .card-title{display:inline-block}.card .card-content .activator,.card .card-reveal .activator{cursor:pointer;font-family:Material Icons}.card .card-content i.right,.card .card-reveal i.right{margin-left:0}.card .card-content .original{line-height:24px;font-size:15px}.card .card-entry-labels{position:absolute;top:10px;z-index:90;max-width:50%}.card .card-entry-labels-hidden{margin:2.5px auto}.card .card-entry-labels-hidden li{display:inline-block;background-color:rgba(0,151,167,.85);margin:0 5px;padding:5px 12px;border-radius:3px;color:#fff;max-height:2em;max-width:calc(100% - 15px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card .card-content .estimatedTime{margin-bottom:10px}.card .card-action{padding:10px 5px 10px 15px}.card .card-action ul.links{margin:0;font-size:24px;line-height:24px}.card .card-action a{color:#fff;margin:0}.card .card-action a:hover{color:#fff}.card .card-action ul.tools li a.tool{margin-right:5px!important}.card .card-action .reading-time{display:inline-flex;vertical-align:middle}.card .card-action .reading-time span{margin-right:5px}.card .card-image{height:10em}.card .card-fullimage{height:13.5em}.card .card-fullimage .preview,.card .card-image .preview{height:14em;background:no-repeat 50%/cover}.card.sw{max-width:370px;margin-left:auto;margin-right:auto}a.original:not(.waves-effect){text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}.card-entry-labels li,.card-tag-labels li{margin:10px 10px 10px auto;padding:5px 12px 5px 16px!important;background-color:rgba(0,151,167,.85);border-radius:0 3px 3px 0;color:#fff;cursor:default;max-height:2em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#list .chip a,.card-entry-labels-hidden a,.card-entry-labels a,.card-entry-tags a,.card-tag-labels a{text-decoration:none;font-weight:400;color:#fff}.card-stacked{display:flex;flex-flow:row wrap}.card-stacked:hover ul.tools-list{display:inline;text-align:right}.card-stacked .preview{max-width:100px;height:auto;margin-right:10px;flex:1}.card-stacked .preview img{max-width:100%;max-height:100%}.card-stacked div.metadata .chip{background-color:rgba(0,151,167,.85);padding:0 15px 0 10px;margin:auto 2px;border-radius:6px}.card-stacked div.metadata .chip a,.card-stacked div.metadata .chip i{color:#fff}.card-stacked div.metadata .chip i.material-icons{float:right;font-size:20px;line-height:32px;padding-left:8px}.card-stacked div.card-content{flex:4}.card-stacked ul.tools-list{flex:1;display:none;flex-basis:5em;align-self:flex-end;float:right;max-width:6em}#content .collection .collection-item{min-height:65px;height:auto}.quickstart .card .card-action a,.quickstart .card .card-action a:hover{color:#fff!important}.settings .div_tabs{padding-bottom:15px}.collection{margin:15px 15px 0}.collection .collection-item{padding:7px;height:65px}.results{height:1em}.results .nb-results,.results .pagination{margin:15px 15px 0}.results .nb-results{display:inline-flex}.results a{color:#444}.pagination{float:right}.pagination ul{margin:0!important}.pagination ul .next.disabled,.pagination ul .prev.disabled{display:none}.pagination li{padding:0}.pagination a{padding:0 10px;height:30px;display:block}.pagination .disabled{margin-right:10px;margin-left:10px}.pagination li.active span{padding:0 10px;height:30px;display:block;color:#fff}.page-footer .footer-copyright{min-width:50px;height:auto!important;line-height:1em!important}.page-footer .footer-copyright p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block}.hidden,.picker__date-display{display:none}footer.page-footer{margin-top:10px;padding-top:0}footer .row{margin-bottom:10px}#filters button{padding:0;width:100%}#filters div.with-checkbox{height:3rem;margin-top:0}body{display:flex;min-height:100vh;flex-direction:column;background:#fafafa}body.login main{padding:0;min-height:100vh}.border-bottom{border-bottom:1px solid #ddd}#content,.valign-wrapper,main{height:100%}#main{flex:1 0 auto}#main .logo a{height:100pt}#main .logo img{height:100pt;width:100pt}#main .logo:hover{background:transparent}nav{height:auto}nav input{color:#aaa}nav ul a:hover{background-color:initial}.nav-wrapper{display:flex;flex-wrap:wrap;justify-content:space-between;min-height:64px}.nav-wrapper .button-collapse{padding:0 15px}.nav-input{display:none}.nav-panel-buttom{display:flex;flex-grow:1;justify-content:flex-end}.nav-panel-buttom li{max-height:64px}.nav-panel-add .add,.nav-panel-search .search,.nav-panels .close{color:#444!important}.nav-panels{transition:background .2s ease}.nav-panels .action{padding-left:.75rem;font-size:2.1rem;white-space:nowrap}.nav-panels .input-field input{display:block;line-height:inherit;padding-left:4rem!important;width:calc(100% - 8rem);height:4.1rem}.nav-panels .input-field input:focus{background-color:#fff;border:0;box-shadow:none;color:#444}.input-field.nav-panel-add label,.input-field.nav-panel-search label{left:1rem}.input-field.nav-panel-add .close,.input-field.nav-panel-search .close{position:absolute;top:0;right:1rem;color:transparent;cursor:pointer;font-size:2rem;transition:color .3s}.input-field.nav-panel-add,.input-field.nav-panel-add form,.input-field.nav-panel-search,.input-field.nav-panel-search form{display:flex;flex:1}#button_export,#button_filters{display:none}#button_notifications a.nav-panel-menu{max-height:65px}.side-nav{width:240px}.side-nav li{padding:0}.side-nav li.logo>a:hover{background:initial}.side-nav a{margin:0}.side-nav.fixed a{font-size:13px;line-height:44px;height:44px}.side-nav .collapsible-header,.side-nav.fixed .collapsible-header{height:45px;line-height:44px;padding:0 20px}.side-nav>li.logo{line-height:0;text-align:center}#notifications{width:300px;display:flex;flex-flow:column;justify-content:space-between}#notifications .notifications-area{flex-grow:1}#notifications .notifications-area .collection{margin:auto}#notifications .no-notifications{position:absolute;top:40%;left:50%;transform:translate(-40%,-50%)}#notifications .view-more{display:block;margin:auto 5px 10px;flex:0 1 2.5em}#notifications .btn.notification-action-button{display:block;line-height:25px;height:auto}.bold>a{font-weight:700}span.numberItems{float:right}.notifications-page .notifications-area{flex-grow:1}.notifications-page .notifications-area .collection{margin:auto}.notifications-page .no-notifications{position:absolute;top:40%;left:50%;transform:translate(-40%,-50%)}.notifications-page .view-more{display:block;margin:auto 5px 10px;flex:0 1 2.5em}.notifications-page .btn.notification-action-button{display:block;line-height:25px;height:auto}.notifications-page .pagination{float:none;text-align:center;margin-top:30px}div.settings div.file-field div,div.settings div.file-field ul{margin-top:40px}div.settings div.file-field div{margin-top:inherit}.input-field label.active{font-size:1rem}nav .input-field input{margin:0}.tabs{display:flex}.tab{flex:1}#notifications-count{position:relative;top:-50px;left:15px}@font-face{font-family:icomoon;src:url(/bundles/wallabagcore/fonts/IcoMoon-Free.ttf);font-weight:400;font-style:normal}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;width:1em;height:1em;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:"liga"}.material-icons .md-18{font-size:18px}.material-icons .md-24{font-size:24px}.material-icons .md-36{font-size:36px}.material-icons .md-48{font-size:48px}.material-icons .md-dark{color:rgba(0,0,0,.54)}.material-icons .md-dark .md-inactive{color:rgba(0,0,0,.26)}.material-icons .md-light{color:#fff}.material-icons .md-light .md-inactive{color:hsla(0,0%,100%,.3)}[class*=" icon-"]:before,[class^=icon-]:before{font-family:icomoon;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;background-size:24px;letter-spacing:0;font-feature-settings:"liga"}.icon-eye:before{content:"\E9CE"}.icon-no-eye:before{content:"\E9D1"}.icon-calendar:before{content:"\E953"}.icon-mail:before{content:"\EA86"}.icon-time:before{content:"\E952"}a.icon-image{background-repeat:no-repeat;padding-right:.4em!important;padding-left:0!important;margin-left:25px}a.icon-image:before{content:"";display:block;width:24px;height:24px;float:left;margin:7px 1.5px 0 0}a.icon-image.carrot:before{background:url(/bundles/wallabagcore/img/carrot-icon--black.png) no-repeat 50%/90%}a.icon-image.diaspora:before{background:url(/bundles/wallabagcore/img/diaspora-icon--black.png) no-repeat 50%/80%}a.icon-image.unmark:before{background:url(/bundles/wallabagcore/img/unmark-icon--black.png) no-repeat 50%/80%}a.icon-image.shaarli:before{background:url(/bundles/wallabagcore/img/shaarli.png) no-repeat 50%/80%}a.icon-image.scuttle:before{background:url(/bundles/wallabagcore/img/scuttle.png) no-repeat 50%/80%}.icon-google-plus2:before{content:"\EA89"}.icon-facebook2:before{content:"\EA8D"}.icon-twitter:before{content:"\EA96"}.icon-apple:before{content:"\EABF"}.icon-android:before{content:"\EAC1"}.icon-chrome:before{content:"\EAE5"}.icon-firefox:before{content:"\EAE6"}.icon-link:before{content:"\E9CB"}footer [class*=" icon-"],footer [class^=icon-]{font-size:2em;transition:text-shadow .2s ease;padding-right:10px}footer [class*=" icon-"]:hover,footer [class^=icon-]:hover{text-shadow:0 0 10px rgba(0,0,0,.3)}@media print{body{font-family:Serif;background-color:#fff}@page{margin:1cm}img{max-width:100%!important}#article .mbm a,#article>aside,#article_toolbar,#links,#slide-out,#sort,.entry+.results,.hide-on-large-only,.messages,.progress,.top_link,body>footer,body>header,div.tools,header div{display:none!important}main{padding-left:0!important}#article{margin:inherit!important}article{border:none!important}.vieworiginal a:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.pagination span.current{border-style:dashed}#main{margin:0;padding:0}#article,#main{width:100%}}@media only screen and (min-width:992px){body:not(.entry) main,footer,nav{padding-left:240px}}@media only screen and (max-width:992px){footer,header,main,nav{padding-left:0}.pagination{width:auto}.nav-panels .action{padding-right:.75rem}.nav-panel-buttom{justify-content:space-around}#article{max-width:35em;margin-left:auto;margin-right:auto;font-size:18px}#article>header>h1{font-size:1.33em}.reader-mode{width:240px!important}.reader-mode span{opacity:1}.tabs{display:inline-block;height:auto}.tab{min-width:100%}.indicator{display:none}.pagination li.next,.pagination li.prev{width:auto}.drag-target+.drag-target{height:50%}.drag-target+.drag-target+.drag-target{top:50%}}@media only screen and (min-width:1200px) and (max-width:1650px){.row .col.l3{width:33.33333%;margin-left:0}}@media only screen and (min-width:993px) and (max-width:1200px){.row .col.l1{width:25%;margin-left:0}.row .col.l2{width:33.33333%;margin-left:0}.row .col.l3{width:41.66667%;margin-left:0}.row .col.l4{width:50%;margin-left:0}.row .col.l5{width:58.33333%;margin-left:0}.row .col.l6{width:66.66667%;margin-left:0}.row .col.l7{width:75%;margin-left:0}.row .col.l8{width:83.33333%;margin-left:0}.row .col.l9{width:91.66667%;margin-left:0}.row .col.l10{width:100%;margin-left:0}}@media only screen and (max-width:350px){.nb-results{display:none}.row .col,main ul.row{padding:0}} |
2 | /*# sourceMappingURL=material.css.map*/ \ No newline at end of file | 2 | /*# sourceMappingURL=material.css.map*/ \ No newline at end of file |
diff --git a/web/bundles/wallabagcore/material.js b/web/bundles/wallabagcore/material.js index 38a7311d..f3592ca9 100644 --- a/web/bundles/wallabagcore/material.js +++ b/web/bundles/wallabagcore/material.js | |||
@@ -1 +1 @@ | |||
!function(t){function __webpack_require__(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,__webpack_require__),i.l=!0,i.exports}var e={};__webpack_require__.m=t,__webpack_require__.c=e,__webpack_require__.i=function(t){return t},__webpack_require__.d=function(t,e,n){__webpack_require__.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},__webpack_require__.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(e,"a",e),e},__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},__webpack_require__.p="/bundles/wallabagcore/",__webpack_require__(__webpack_require__.s=53)}([function(t,e,n){var i,r;!function(e,n){"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){function isArrayLike(t){var e=!!t&&"length"in t&&t.length,n=v.type(t);return"function"!==n&&!v.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function winnow(t,e,n){if(v.isFunction(e))return v.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return v.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(S.test(e))return v.filter(e,t,n);e=v.filter(e,t)}return v.grep(t,function(t){return d.call(e,t)>-1!==n})}function sibling(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function createOptions(t){var e={};return v.each(t.match(O)||[],function(t,n){e[n]=!0}),e}function completed(){s.removeEventListener("DOMContentLoaded",completed),n.removeEventListener("load",completed),v.ready()}function Data(){this.expando=v.expando+Data.uid++}function dataAttr(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(F,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:z.test(n)?v.parseJSON(n):n)}catch(t){}L.set(t,e,n)}else n=void 0;return n}function adjustCSS(t,e,n,i){var r,o=1,a=20,s=i?function(){return i.cur()}:function(){return v.css(t,e,"")},l=s(),u=n&&n[3]||(v.cssNumber[e]?"":"px"),c=(v.cssNumber[e]||"px"!==u&&+l)&&H.exec(v.css(t,e));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do{o=o||".5",c/=o,v.style(t,e,c+u)}while(o!==(o=s()/l)&&1!==o&&--a)}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function getAll(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&v.nodeName(t,e)?v.merge([t],n):n}function setGlobalEval(t,e){for(var n=0,i=t.length;n<i;n++)R.set(t[n],"globalEval",!e||R.get(e[n],"globalEval"))}function buildFragment(t,e,n,i,r){for(var o,a,s,l,u,c,d=e.createDocumentFragment(),f=[],h=0,p=t.length;h<p;h++)if((o=t[h])||0===o)if("object"===v.type(o))v.merge(f,o.nodeType?[o]:o);else if(Y.test(o)){for(a=a||d.appendChild(e.createElement("div")),s=(V.exec(o)||["",""])[1].toLowerCase(),l=$[s]||$._default,a.innerHTML=l[1]+v.htmlPrefilter(o)+l[2],c=l[0];c--;)a=a.lastChild;v.merge(f,a.childNodes),a=d.firstChild,a.textContent=""}else f.push(e.createTextNode(o));for(d.textContent="",h=0;o=f[h++];)if(i&&v.inArray(o,i)>-1)r&&r.push(o);else if(u=v.contains(o.ownerDocument,o),a=getAll(d.appendChild(o),"script"),u&&setGlobalEval(a),n)for(c=0;o=a[c++];)X.test(o.type||"")&&n.push(o);return d}function returnTrue(){return!0}function returnFalse(){return!1}function safeActiveElement(){try{return s.activeElement}catch(t){}}function on(t,e,n,i,r,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(s in e)on(t,s,n,i,e[s],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=returnFalse;else if(!r)return t;return 1===o&&(a=r,r=function(t){return v().off(t),a.apply(this,arguments)},r.guid=a.guid||(a.guid=v.guid++)),t.each(function(){v.event.add(this,e,r,i,n)})}function manipulationTarget(t,e){return v.nodeName(t,"table")&&v.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function disableScript(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function restoreScript(t){var e=tt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function cloneCopyEvent(t,e){var n,i,r,o,a,s,l,u;if(1===e.nodeType){if(R.hasData(t)&&(o=R.access(t),a=R.set(e,o),u=o.events)){delete a.handle,a.events={};for(r in u)for(n=0,i=u[r].length;n<i;n++)v.event.add(e,r,u[r][n])}L.hasData(t)&&(s=L.access(t),l=v.extend({},s),L.set(e,l))}}function fixInput(t,e){var n=e.nodeName.toLowerCase();"input"===n&&B.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function domManip(t,e,n,i){e=u.apply([],e);var r,o,a,s,l,c,d=0,f=t.length,h=f-1,p=e[0],m=v.isFunction(p);if(m||f>1&&"string"==typeof p&&!g.checkClone&&Z.test(p))return t.each(function(r){var o=t.eq(r);m&&(e[0]=p.call(this,r,o.html())),domManip(o,e,n,i)});if(f&&(r=buildFragment(e,t[0].ownerDocument,!1,t,i),o=r.firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=v.map(getAll(r,"script"),disableScript),s=a.length;d<f;d++)l=r,d!==h&&(l=v.clone(l,!0,!0),s&&v.merge(a,getAll(l,"script"))),n.call(t[d],l,d);if(s)for(c=a[a.length-1].ownerDocument,v.map(a,restoreScript),d=0;d<s;d++)l=a[d],X.test(l.type||"")&&!R.access(l,"globalEval")&&v.contains(c,l)&&(l.src?v._evalUrl&&v._evalUrl(l.src):v.globalEval(l.textContent.replace(et,"")))}return t}function remove(t,e,n){for(var i,r=e?v.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||v.cleanData(getAll(i)),i.parentNode&&(n&&v.contains(i.ownerDocument,i)&&setGlobalEval(getAll(i,"script")),i.parentNode.removeChild(i));return t}function actualDisplay(t,e){var n=v(e.createElement(t)).appendTo(e.body),i=v.css(n[0],"display");return n.detach(),i}function defaultDisplay(t){var e=s,n=it[t];return n||(n=actualDisplay(t,e),"none"!==n&&n||(nt=(nt||v("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=nt[0].contentDocument,e.write(),e.close(),n=actualDisplay(t,e),nt.detach()),it[t]=n),n}function curCSS(t,e,n){var i,r,o,a,s=t.style;return n=n||at(t),a=n?n.getPropertyValue(e)||n[e]:void 0,""!==a&&void 0!==a||v.contains(t.ownerDocument,t)||(a=v.style(t,e)),n&&!g.pixelMarginRight()&&ot.test(a)&&rt.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o),void 0!==a?a+"":a}function addGetHookIf(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function vendorPropName(t){if(t in ht)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ft.length;n--;)if((t=ft[n]+e)in ht)return t}function setPositiveNumber(t,e,n){var i=H.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function augmentWidthOrHeight(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=v.css(t,n+j[o],!0,r)),i?("content"===n&&(a-=v.css(t,"padding"+j[o],!0,r)),"margin"!==n&&(a-=v.css(t,"border"+j[o]+"Width",!0,r))):(a+=v.css(t,"padding"+j[o],!0,r),"padding"!==n&&(a+=v.css(t,"border"+j[o]+"Width",!0,r)));return a}function getWidthOrHeight(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=at(t),a="border-box"===v.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(r=curCSS(t,e,o),(r<0||null==r)&&(r=t.style[e]),ot.test(r))return r;i=a&&(g.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+augmentWidthOrHeight(t,e,n||(a?"border":"content"),i,o)+"px"}function showHide(t,e){for(var n,i,r,o=[],a=0,s=t.length;a<s;a++)i=t[a],i.style&&(o[a]=R.get(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&W(i)&&(o[a]=R.access(i,"olddisplay",defaultDisplay(i.nodeName)))):(r=W(i),"none"===n&&r||R.set(i,"olddisplay",r?n:v.css(i,"display"))));for(a=0;a<s;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function Tween(t,e,n,i,r){return new Tween.prototype.init(t,e,n,i,r)}function createFxNow(){return n.setTimeout(function(){pt=void 0}),pt=v.now()}function genFx(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)n=j[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function createTween(t,e,n){for(var i,r=(Animation.tweeners[e]||[]).concat(Animation.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function defaultPrefilter(t,e,n){var i,r,o,a,s,l,u,c=this,d={},f=t.style,h=t.nodeType&&W(t),p=R.get(t,"fxshow");n.queue||(s=v._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,v.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=v.css(t,"display"),"inline"===("none"===u?R.get(t,"olddisplay")||defaultDisplay(t.nodeName):u)&&"none"===v.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",c.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],vt.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!p||void 0===p[i])continue;h=!0}d[i]=p&&p[i]||v.style(t,i)}else u=void 0;if(v.isEmptyObject(d))"inline"===("none"===u?defaultDisplay(t.nodeName):u)&&(f.display=u);else{p?"hidden"in p&&(h=p.hidden):p=R.access(t,"fxshow",{}),o&&(p.hidden=!h),h?v(t).show():c.done(function(){v(t).hide()}),c.done(function(){var e;R.remove(t,"fxshow");for(e in d)v.style(t,e,d[e])});for(i in d)a=createTween(h?p[i]:0,i,c),i in p||(p[i]=a.start,h&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function propFilter(t,e){var n,i,r,o,a;for(n in t)if(i=v.camelCase(n),r=e[i],o=t[n],v.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=v.cssHooks[i])&&"expand"in a){o=a.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function Animation(t,e,n){var i,r,o=0,a=Animation.prefilters.length,s=v.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=pt||createFxNow(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,o=1-i,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(o);return s.notifyWith(t,[u,o,n]),o<1&&l?n:(s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:v.extend({},e),opts:v.extend(!0,{specialEasing:{},easing:v.easing._default},n),originalProperties:e,originalOptions:n,startTime:pt||createFxNow(),duration:n.duration,tweens:[],createTween:function(e,n){var i=v.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for(propFilter(c,u.opts.specialEasing);o<a;o++)if(i=Animation.prefilters[o].call(u,t,c,u.opts))return v.isFunction(i.stop)&&(v._queueHooks(u.elem,u.opts.queue).stop=v.proxy(i.stop,i)),i;return v.map(c,createTween,u),v.isFunction(u.opts.start)&&u.opts.start.call(t,u),v.fx.timer(v.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function getClass(t){return t.getAttribute&&t.getAttribute("class")||""}function addToPrefiltersOrTransports(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(O)||[];if(v.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function inspectPrefiltersOrTransports(t,e,n,i){function inspect(a){var s;return r[a]=!0,v.each(t[a]||[],function(t,a){var l=a(e,n,i);return"string"!=typeof l||o||r[l]?o?!(s=l):void 0:(e.dataTypes.unshift(l),inspect(l),!1)}),s}var r={},o=t===Lt;return inspect(e.dataTypes[0])||!r["*"]&&inspect("*")}function ajaxExtend(t,e){var n,i,r=v.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&v.extend(!0,t,i),t}function ajaxHandleResponses(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}function ajaxConvert(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function buildParams(t,e,n,i){var r;if(v.isArray(e))v.each(e,function(e,r){n||Ht.test(t)?i(t,r):buildParams(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==v.type(e))i(t,e);else for(r in e)buildParams(t+"["+r+"]",e[r],n,i)}function getWindow(t){return v.isWindow(t)?t:9===t.nodeType&&t.defaultView}var a=[],s=n.document,l=a.slice,u=a.concat,c=a.push,d=a.indexOf,f={},h=f.toString,p=f.hasOwnProperty,g={},v=function(t,e){return new v.fn.init(t,e)},m=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,y=/^-ms-/,b=/-([\da-z])/gi,w=function(t,e){return e.toUpperCase()};v.fn=v.prototype={jquery:"2.2.4",constructor:v,selector:"",length:0,toArray:function(){return l.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:l.call(this)},pushStack:function(t){var e=v.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return v.each(this,t)},map:function(t){return this.pushStack(v.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:a.sort,splice:a.splice},v.extend=v.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||v.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],i=t[e],a!==i&&(u&&i&&(v.isPlainObject(i)||(r=v.isArray(i)))?(r?(r=!1,o=n&&v.isArray(n)?n:[]):o=n&&v.isPlainObject(n)?n:{},a[e]=v.extend(u,o,i)):void 0!==i&&(a[e]=i));return a},v.extend({expando:"jQuery"+("2.2.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===v.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!v.isArray(t)&&e-parseFloat(e)+1>=0},isPlainObject:function(t){var e;if("object"!==v.type(t)||t.nodeType||v.isWindow(t))return!1;if(t.constructor&&!p.call(t,"constructor")&&!p.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||p.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[h.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;(t=v.trim(t))&&(1===t.indexOf("use strict")?(e=s.createElement("script"),e.text=t,s.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(y,"ms-").replace(b,w)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,i=0;if(isArrayLike(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(m,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(isArrayLike(Object(t))?v.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:d.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,a=[];if(isArrayLike(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&a.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&a.push(r);return u.apply([],a)},guid:1,proxy:function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),v.isFunction(t))return i=l.call(arguments,2),r=function(){return t.apply(e||this,i.concat(l.call(arguments)))},r.guid=t.guid=t.guid||v.guid++,r},now:Date.now,support:g}),"function"==typeof Symbol&&(v.fn[Symbol.iterator]=a[Symbol.iterator]),v.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){f["[object "+e+"]"]=e.toLowerCase()});var x=function(t){function Sizzle(t,e,i,r){var o,s,u,c,d,p,m,y,T=e&&e.ownerDocument,C=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==C&&9!==C&&11!==C)return i;if(!r&&((e?e.ownerDocument||e:x)!==h&&f(e),e=e||h,g)){if(11!==C&&(p=J.exec(t)))if(o=p[1]){if(9===C){if(!(u=e.getElementById(o)))return i;if(u.id===o)return i.push(u),i}else if(T&&(u=T.getElementById(o))&&b(e,u)&&u.id===o)return i.push(u),i}else{if(p[2])return M.apply(i,e.getElementsByTagName(t)),i;if((o=p[3])&&n.getElementsByClassName&&e.getElementsByClassName)return M.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!S[t+" "]&&(!v||!v.test(t))){if(1!==C)T=e,y=t;else if("object"!==e.nodeName.toLowerCase()){for((c=e.getAttribute("id"))?c=c.replace(tt,"\\$&"):e.setAttribute("id",c=w),m=a(t),s=m.length,d=Y.test(c)?"#"+c:"[id='"+c+"']";s--;)m[s]=d+" "+toSelector(m[s]);y=m.join(","),T=Z.test(t)&&testContext(e.parentNode)||e}if(y)try{return M.apply(i,T.querySelectorAll(y)),i}catch(t){}finally{c===w&&e.removeAttribute("id")}}}return l(t.replace(W,"$1"),e,i,r)}function createCache(){function cache(e,n){return t.push(e+" ")>i.cacheLength&&delete cache[t.shift()],cache[e+" "]=n}var t=[];return cache}function markFunction(t){return t[w]=!0,t}function assert(t){var e=h.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function addHandle(t,e){for(var n=t.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=e}function siblingCheck(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||A)-(~t.sourceIndex||A);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function createPositionalPseudo(t){return markFunction(function(e){return e=+e,markFunction(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function testContext(t){return t&&void 0!==t.getElementsByTagName&&t}function setFilters(){}function toSelector(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function addCombinator(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=C++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,a){var s,l,u,c=[T,o];if(a){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(u=e[w]||(e[w]={}),l=u[e.uniqueID]||(u[e.uniqueID]={}),(s=l[i])&&s[0]===T&&s[1]===o)return c[2]=s[2];if(l[i]=c,c[2]=t(e,n,a))return!0}}}function elementMatcher(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function multipleContexts(t,e,n){for(var i=0,r=e.length;i<r;i++)Sizzle(t,e[i],n);return n}function condense(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),u&&e.push(s)));return a}function setMatcher(t,e,n,i,r,o){return i&&!i[w]&&(i=setMatcher(i)),r&&!r[w]&&(r=setMatcher(r,o)),markFunction(function(o,a,s,l){var u,c,d,f=[],h=[],p=a.length,g=o||multipleContexts(e||"*",s.nodeType?[s]:s,[]),v=!t||!o&&e?g:condense(g,f,t,s,l),m=n?r||(o?t:p||i)?[]:a:v;if(n&&n(v,m,s,l),i)for(u=condense(m,h),i(u,[],s,l),c=u.length;c--;)(d=u[c])&&(m[h[c]]=!(v[h[c]]=d));if(o){if(r||t){if(r){for(u=[],c=m.length;c--;)(d=m[c])&&u.push(v[c]=d);r(null,m=[],u,l)}for(c=m.length;c--;)(d=m[c])&&(u=r?R(o,d):f[c])>-1&&(o[u]=!(a[u]=d))}}else m=condense(m===a?m.splice(p,m.length):m),r?r(null,a,m,l):M.apply(a,m)})}function matcherFromTokens(t){for(var e,n,r,o=t.length,a=i.relative[t[0].type],s=a||i.relative[" "],l=a?1:0,c=addCombinator(function(t){return t===e},s,!0),d=addCombinator(function(t){return R(e,t)>-1},s,!0),f=[function(t,n,i){var r=!a&&(i||n!==u)||((e=n).nodeType?c(t,n,i):d(t,n,i));return e=null,r}];l<o;l++)if(n=i.relative[t[l].type])f=[addCombinator(elementMatcher(f),n)];else{if(n=i.filter[t[l].type].apply(null,t[l].matches),n[w]){for(r=++l;r<o&&!i.relative[t[r].type];r++);return setMatcher(l>1&&elementMatcher(f),l>1&&toSelector(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(W,"$1"),n,l<r&&matcherFromTokens(t.slice(l,r)),r<o&&matcherFromTokens(t=t.slice(r)),r<o&&toSelector(t))}f.push(n)}return elementMatcher(f)}function matcherFromGroupMatchers(t,e){var n=e.length>0,r=t.length>0,o=function(o,a,s,l,c){var d,p,v,m=0,y="0",b=o&&[],w=[],x=u,C=o||r&&i.find.TAG("*",c),k=T+=null==x?1:Math.random()||.1,E=C.length;for(c&&(u=a===h||a||c);y!==E&&null!=(d=C[y]);y++){if(r&&d){for(p=0,a||d.ownerDocument===h||(f(d),s=!g);v=t[p++];)if(v(d,a||h,s)){l.push(d);break}c&&(T=k)}n&&((d=!v&&d)&&m--,o&&b.push(d))}if(m+=y,n&&y!==m){for(p=0;v=e[p++];)v(b,w,a,s);if(o){if(m>0)for(;y--;)b[y]||w[y]||(w[y]=O.call(l));w=condense(w)}M.apply(l,w),c&&!o&&w.length>0&&m+e.length>1&&Sizzle.uniqueSort(l)}return c&&(T=k,u=x),b};return n?markFunction(o):o}var e,n,i,r,o,a,s,l,u,c,d,f,h,p,g,v,m,y,b,w="sizzle"+1*new Date,x=t.document,T=0,C=0,k=createCache(),E=createCache(),S=createCache(),_=function(t,e){return t===e&&(d=!0),0},A=1<<31,P={}.hasOwnProperty,D=[],O=D.pop,N=D.push,M=D.push,I=D.slice,R=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",q="\\["+z+"*("+F+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+z+"*\\]",H=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+q+")*)|.*)\\)|)",j=new RegExp(z+"+","g"),W=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),B=new RegExp("^"+z+"*,"+z+"*"),V=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),X=new RegExp("="+z+"*([^\\]'\"]*?)"+z+"*\\]","g"),$=new RegExp(H),Y=new RegExp("^"+F+"$"),U={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,tt=/'|\\/g,et=new RegExp("\\\\([\\da-f]{1,6}"+z+"?|("+z+")|.)","ig"),nt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},it=function(){f()};try{M.apply(D=I.call(x.childNodes),x.childNodes),D[x.childNodes.length].nodeType}catch(t){M={apply:D.length?function(t,e){N.apply(t,I.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}n=Sizzle.support={},o=Sizzle.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},f=Sizzle.setDocument=function(t){var e,r,a=t?t.ownerDocument||t:x;return a!==h&&9===a.nodeType&&a.documentElement?(h=a,p=h.documentElement,g=!o(h),(r=h.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",it,!1):r.attachEvent&&r.attachEvent("onunload",it)),n.attributes=assert(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=assert(function(t){return t.appendChild(h.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=K.test(h.getElementsByClassName),n.getById=assert(function(t){return p.appendChild(t).id=w,!h.getElementsByName||!h.getElementsByName(w).length}),n.getById?(i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}},i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}}):(delete i.find.ID,i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},m=[],v=[],(n.qsa=K.test(h.querySelectorAll))&&(assert(function(t){p.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+z+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+z+"*(?:value|"+L+")"),t.querySelectorAll("[id~="+w+"-]").length||v.push("~="),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||v.push(".#.+[+~]")}),assert(function(t){var e=h.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+z+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=K.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&assert(function(t){n.disconnectedMatch=y.call(t,"div"),y.call(t,"[s!='']:x"),m.push("!=",H)}),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),e=K.test(p.compareDocumentPosition),b=e||K.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},_=e?function(t,e){if(t===e)return d=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!n.sortDetached&&e.compareDocumentPosition(t)===i?t===h||t.ownerDocument===x&&b(x,t)?-1:e===h||e.ownerDocument===x&&b(x,e)?1:c?R(c,t)-R(c,e):0:4&i?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t===h?-1:e===h?1:r?-1:o?1:c?R(c,t)-R(c,e):0;if(r===o)return siblingCheck(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?siblingCheck(a[i],s[i]):a[i]===x?-1:s[i]===x?1:0},h):h},Sizzle.matches=function(t,e){return Sizzle(t,null,null,e)},Sizzle.matchesSelector=function(t,e){if((t.ownerDocument||t)!==h&&f(t),e=e.replace(X,"='$1']"),n.matchesSelector&&g&&!S[e+" "]&&(!m||!m.test(e))&&(!v||!v.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return Sizzle(e,h,null,[t]).length>0},Sizzle.contains=function(t,e){return(t.ownerDocument||t)!==h&&f(t),b(t,e)},Sizzle.attr=function(t,e){(t.ownerDocument||t)!==h&&f(t);var r=i.attrHandle[e.toLowerCase()],o=r&&P.call(i.attrHandle,e.toLowerCase())?r(t,e,!g):void 0;return void 0!==o?o:n.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},Sizzle.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},Sizzle.uniqueSort=function(t){var e,i=[],r=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(_),d){for(;e=t[o++];)e===t[o]&&(r=i.push(o));for(;r--;)t.splice(i[r],1)}return c=null,t},r=Sizzle.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},i=Sizzle.selectors={cacheLength:50,createPseudo:markFunction,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||Sizzle.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&Sizzle.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&$.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=k[t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&k(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var r=Sizzle.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(j," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,f,h,p,g=o!==a?"nextSibling":"previousSibling",v=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(o){for(;g;){for(f=e;f=f[g];)if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(f=v,d=f[w]||(f[w]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[t]||[],h=u[0]===T&&u[1],b=h&&u[2],f=h&&v.childNodes[h];f=++h&&f&&f[g]||(b=h=0)||p.pop();)if(1===f.nodeType&&++b&&f===e){c[t]=[T,h,b];break}}else if(y&&(f=e,d=f[w]||(f[w]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[t]||[],h=u[0]===T&&u[1],b=h),!1===b)for(;(f=++h&&f&&f[g]||(b=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++b||(y&&(d=f[w]||(f[w]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),c[t]=[T,b]),f!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||Sizzle.error("unsupported pseudo: "+t);return r[w]?r(e):r.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?markFunction(function(t,n){for(var i,o=r(t,e),a=o.length;a--;)i=R(t,o[a]),t[i]=!(n[i]=o[a])}):function(t){return r(t,0,n)}):r}},pseudos:{not:markFunction(function(t){var e=[],n=[],i=s(t.replace(W,"$1"));return i[w]?markFunction(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:markFunction(function(t){return function(e){return Sizzle(t,e).length>0}}),contains:markFunction(function(t){return t=t.replace(et,nt),function(e){return(e.textContent||e.innerText||r(e)).indexOf(t)>-1}}),lang:markFunction(function(t){return Y.test(t||"")||Sizzle.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return G.test(t.nodeName)},input:function(t){return Q.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:createPositionalPseudo(function(){return[0]}),last:createPositionalPseudo(function(t,e){return[e-1]}),eq:createPositionalPseudo(function(t,e,n){return[n<0?n+e:n]}),even:createPositionalPseudo(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:createPositionalPseudo(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:createPositionalPseudo(function(t,e,n){for(var i=n<0?n+e:n;--i>=0;)t.push(i);return t}),gt:createPositionalPseudo(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},i.pseudos.nth=i.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(e);return setFilters.prototype=i.filters=i.pseudos,i.setFilters=new setFilters,a=Sizzle.tokenize=function(t,e){var n,r,o,a,s,l,u,c=E[t+" "];if(c)return e?0:c.slice(0);for(s=t,l=[],u=i.preFilter;s;){n&&!(r=B.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),n=!1,(r=V.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return e?s.length:s?Sizzle.error(t):E(t,l).slice(0)},s=Sizzle.compile=function(t,e){var n,i=[],r=[],o=S[t+" "];if(!o){for(e||(e=a(t)),n=e.length;n--;)o=matcherFromTokens(e[n]),o[w]?i.push(o):r.push(o);o=S(t,matcherFromGroupMatchers(r,i)),o.selector=t}return o},l=Sizzle.select=function(t,e,r,o){var l,u,c,d,f,h="function"==typeof t&&t,p=!o&&a(t=h.selector||t);if(r=r||[],1===p.length){if(u=p[0]=p[0].slice(0),u.length>2&&"ID"===(c=u[0]).type&&n.getById&&9===e.nodeType&&g&&i.relative[u[1].type]){if(!(e=(i.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return r;h&&(e=e.parentNode),t=t.slice(u.shift().value.length)}for(l=U.needsContext.test(t)?0:u.length;l--&&(c=u[l],!i.relative[d=c.type]);)if((f=i.find[d])&&(o=f(c.matches[0].replace(et,nt),Z.test(u[0].type)&&testContext(e.parentNode)||e))){if(u.splice(l,1),!(t=o.length&&toSelector(u)))return M.apply(r,o),r;break}}return(h||s(t,p))(o,e,!g,r,!e||Z.test(t)&&testContext(e.parentNode)||e),r},n.sortStable=w.split("").sort(_).join("")===w,n.detectDuplicates=!!d,f(),n.sortDetached=assert(function(t){return 1&t.compareDocumentPosition(h.createElement("div"))}),assert(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||addHandle("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&assert(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||addHandle("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),assert(function(t){return null==t.getAttribute("disabled")})||addHandle(L,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),Sizzle}(n);v.find=x,v.expr=x.selectors,v.expr[":"]=v.expr.pseudos,v.uniqueSort=v.unique=x.uniqueSort,v.text=x.getText,v.isXMLDoc=x.isXML,v.contains=x.contains;var T=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&v(t).is(n))break;i.push(t)}return i},C=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},k=v.expr.match.needsContext,E=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,S=/^.[^:#\[\.,]*$/;v.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?v.find.matchesSelector(i,t)?[i]:[]:v.find.matches(t,v.grep(e,function(t){return 1===t.nodeType}))},v.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;if("string"!=typeof t)return this.pushStack(v(t).filter(function(){for(e=0;e<n;e++)if(v.contains(r[e],this))return!0}));for(e=0;e<n;e++)v.find(t,r[e],i);return i=this.pushStack(n>1?v.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(winnow(this,t||[],!1))},not:function(t){return this.pushStack(winnow(this,t||[],!0))},is:function(t){return!!winnow(this,"string"==typeof t&&k.test(t)?v(t):t||[],!1).length}});var _,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(v.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||_,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:A.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof v?e[0]:e,v.merge(this,v.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:s,!0)),E.test(i[1])&&v.isPlainObject(e))for(i in e)v.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return r=s.getElementById(i[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=s,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):v.isFunction(t)?void 0!==n.ready?n.ready(t):t(v):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),v.makeArray(t,this))}).prototype=v.fn,_=v(s);var P=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({has:function(t){var e=v(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(v.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=k.test(t)||"string"!=typeof t?v(t,e||this.context):0;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&v.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?v.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?d.call(v(t),this[0]):d.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(v.uniqueSort(v.merge(this.get(),v(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),v.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return T(t,"parentNode")},parentsUntil:function(t,e,n){return T(t,"parentNode",n)},next:function(t){return sibling(t,"nextSibling")},prev:function(t){return sibling(t,"previousSibling")},nextAll:function(t){return T(t,"nextSibling")},prevAll:function(t){return T(t,"previousSibling")},nextUntil:function(t,e,n){return T(t,"nextSibling",n)},prevUntil:function(t,e,n){return T(t,"previousSibling",n)},siblings:function(t){return C((t.parentNode||{}).firstChild,t)},children:function(t){return C(t.firstChild)},contents:function(t){return t.contentDocument||v.merge([],t.childNodes)}},function(t,e){v.fn[t]=function(n,i){var r=v.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=v.filter(i,r)),this.length>1&&(D[t]||v.uniqueSort(r),P.test(t)&&r.reverse()),this.pushStack(r)}});var O=/\S+/g;v.Callbacks=function(t){t="string"==typeof t?createOptions(t):v.extend({},t);var e,n,i,r,o=[],a=[],s=-1,l=function(){for(r=t.once,i=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function add(e){v.each(e,function(e,n){v.isFunction(n)?t.unique&&u.has(n)||o.push(n):n&&n.length&&"string"!==v.type(n)&&add(n)})}(arguments),n&&!e&&l()),this},remove:function(){return v.each(arguments,function(t,e){for(var n;(n=v.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?v.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},v.extend({Deferred:function(t){var e=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return v.Deferred(function(n){v.each(e,function(e,o){var a=v.isFunction(t[e])&&t[e];r[o[1]](function(){var t=a&&a.apply(this,arguments);t&&v.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?v.extend(t,i):i}},r={};return i.pipe=i.then,v.each(e,function(t,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=l.call(arguments),a=o.length,s=1!==a||t&&v.isFunction(t.promise)?a:0,u=1===s?t:v.Deferred(),c=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?l.call(arguments):r,i===e?u.notifyWith(n,i):--s||u.resolveWith(n,i)}};if(a>1)for(e=new Array(a),n=new Array(a),i=new Array(a);r<a;r++)o[r]&&v.isFunction(o[r].promise)?o[r].promise().progress(c(r,n,e)).done(c(r,i,o)).fail(u.reject):--s;return s||u.resolveWith(i,o),u.promise()}});var N;v.fn.ready=function(t){return v.ready.promise().done(t),this},v.extend({isReady:!1,readyWait:1,holdReady:function(t){t?v.readyWait++:v.ready(!0)},ready:function(t){(!0===t?--v.readyWait:v.isReady)||(v.isReady=!0,!0!==t&&--v.readyWait>0||(N.resolveWith(s,[v]),v.fn.triggerHandler&&(v(s).triggerHandler("ready"),v(s).off("ready"))))}}),v.ready.promise=function(t){return N||(N=v.Deferred(),"complete"===s.readyState||"loading"!==s.readyState&&!s.documentElement.doScroll?n.setTimeout(v.ready):(s.addEventListener("DOMContentLoaded",completed),n.addEventListener("load",completed))),N.promise(t)},v.ready.promise();var M=function(t,e,n,i,r,o,a){var s=0,l=t.length,u=null==n;if("object"===v.type(n)){r=!0;for(s in n)M(t,e,s,n[s],!0,o,a)}else if(void 0!==i&&(r=!0,v.isFunction(i)||(a=!0),u&&(a?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(v(t),n)})),e))for(;s<l;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:u?e.call(t):l?e(t[0],n):o},I=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};Data.uid=1,Data.prototype={register:function(t,e){var n=e||{};return t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,writable:!0,configurable:!0}),t[this.expando]},cache:function(t){if(!I(t))return{};var e=t[this.expando];return e||(e={},I(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[e]=n;else for(i in e)r[i]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,v.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,r,o=t[this.expando];if(void 0!==o){if(void 0===e)this.register(t);else{v.isArray(e)?i=e.concat(e.map(v.camelCase)):(r=v.camelCase(e),e in o?i=[e,r]:(i=r,i=i in o?[i]:i.match(O)||[])),n=i.length;for(;n--;)delete o[i[n]]}(void 0===e||v.isEmptyObject(o))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!v.isEmptyObject(e)}};var R=new Data,L=new Data,z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,F=/[A-Z]/g;v.extend({hasData:function(t){return L.hasData(t)||R.hasData(t)},data:function(t,e,n){return L.access(t,e,n)},removeData:function(t,e){L.remove(t,e)},_data:function(t,e,n){return R.access(t,e,n)},_removeData:function(t,e){R.remove(t,e)}}),v.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=L.get(o),1===o.nodeType&&!R.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=v.camelCase(i.slice(5)),dataAttr(o,i,r[i])));R.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){L.set(this,t)}):M(this,function(e){var n,i;if(o&&void 0===e){if(void 0!==(n=L.get(o,t)||L.get(o,t.replace(F,"-$&").toLowerCase())))return n;if(i=v.camelCase(t),void 0!==(n=L.get(o,i)))return n;if(void 0!==(n=dataAttr(o,i,void 0)))return n}else i=v.camelCase(t),this.each(function(){var n=L.get(this,i);L.set(this,i,e),t.indexOf("-")>-1&&void 0!==n&&L.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){L.remove(this,t)})}}),v.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=R.get(t,e),n&&(!i||v.isArray(n)?i=R.access(t,e,v.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=v.queue(t,e),i=n.length,r=n.shift(),o=v._queueHooks(t,e),a=function(){v.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return R.get(t,n)||R.access(t,n,{empty:v.Callbacks("once memory").add(function(){R.remove(t,[e+"queue",n])})})}}),v.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?v.queue(this[0],t):void 0===e?this:this.each(function(){var n=v.queue(this,t,e);v._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&v.dequeue(this,t)})},dequeue:function(t){return this.each(function(){v.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=v.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=R.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,H=new RegExp("^(?:([+-])=|)("+q+")([a-z%]*)$","i"),j=["Top","Right","Bottom","Left"],W=function(t,e){return t=e||t,"none"===v.css(t,"display")||!v.contains(t.ownerDocument,t)},B=/^(?:checkbox|radio)$/i,V=/<([\w:-]+)/,X=/^$|\/(?:java|ecma)script/i,$={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};$.optgroup=$.option,$.tbody=$.tfoot=$.colgroup=$.caption=$.thead,$.th=$.td;var Y=/<|&#?\w+;/;!function(){var t=s.createDocumentFragment(),e=t.appendChild(s.createElement("div")),n=s.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),g.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var U=/^key/,Q=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,G=/^([^.]*)(?:\.(.+)|)/;v.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,h,p,g,m=R.get(t);if(m)for(n.handler&&(o=n,n=o.handler,r=o.selector),n.guid||(n.guid=v.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==v&&v.event.triggered!==e.type?v.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(O)||[""],u=e.length;u--;)s=G.exec(e[u])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h&&(d=v.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,d=v.event.special[h]||{},c=v.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&v.expr.match.needsContext.test(r),namespace:p.join(".")},o),(f=l[h])||(f=l[h]=[],f.delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(h,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,c):f.push(c),v.event.global[h]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,h,p,g,m=R.hasData(t)&&R.get(t);if(m&&(l=m.events)){for(e=(e||"").match(O)||[""],u=e.length;u--;)if(s=G.exec(e[u])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h){for(d=v.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,f=l[h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!r&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(t,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,p,m.handle)||v.removeEvent(t,h,m.handle),delete l[h])}else for(h in l)v.event.remove(t,h+e[u],n,i,!0);v.isEmptyObject(l)&&R.remove(t,"handle events")}},dispatch:function(t){t=v.event.fix(t);var e,n,i,r,o,a=[],s=l.call(arguments),u=(R.get(this,"events")||{})[t.type]||[],c=v.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(a=v.event.handlers.call(this,t,u),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,void 0!==(i=((v.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,a=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(i=[],n=0;n<s;n++)o=e[n],r=o.selector+" ",void 0===i[r]&&(i[r]=o.needsContext?v(r,this).index(l)>-1:v.find(r,this,null,[l]).length),i[r]&&i.push(o);i.length&&a.push({elem:l,handlers:i})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||s,i=n.documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[v.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Q.test(r)?this.mouseHooks:U.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new v.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=s),3===t.target.nodeType&&(t.target=t.target.parentNode),a.filter?a.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==safeActiveElement()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===safeActiveElement()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&v.nodeName(this,"input"))return this.click(),!1},_default:function(t){return v.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},v.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},v.Event=function(t,e){if(!(this instanceof v.Event))return new v.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?returnTrue:returnFalse):this.type=t,e&&v.extend(this,e),this.timeStamp=t&&t.timeStamp||v.now(),this[v.expando]=!0},v.Event.prototype={constructor:v.Event,isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=returnTrue,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=returnTrue,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=returnTrue,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},v.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){v.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||v.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),v.fn.extend({on:function(t,e,n,i){return on(this,t,e,n,i)},one:function(t,e,n,i){return on(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,v(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=returnFalse),this.each(function(){v.event.remove(this,t,n,e)})}});var K=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,J=/<script|<style|<link/i,Z=/checked\s*(?:[^=]|=\s*.checked.)/i,tt=/^true\/(.*)/,et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;v.extend({htmlPrefilter:function(t){return t.replace(K,"<$1></$2>")},clone:function(t,e,n){var i,r,o,a,s=t.cloneNode(!0),l=v.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||v.isXMLDoc(t)))for(a=getAll(s),o=getAll(t),i=0,r=o.length;i<r;i++)fixInput(o[i],a[i]);if(e)if(n)for(o=o||getAll(t),a=a||getAll(s),i=0,r=o.length;i<r;i++)cloneCopyEvent(o[i],a[i]);else cloneCopyEvent(t,s);return a=getAll(s,"script"),a.length>0&&setGlobalEval(a,!l&&getAll(t,"script")),s},cleanData:function(t){for(var e,n,i,r=v.event.special,o=0;void 0!==(n=t[o]);o++)if(I(n)){if(e=n[R.expando]){if(e.events)for(i in e.events)r[i]?v.event.remove(n,i):v.removeEvent(n,i,e.handle);n[R.expando]=void 0}n[L.expando]&&(n[L.expando]=void 0)}}}),v.fn.extend({domManip:domManip,detach:function(t){return remove(this,t,!0)},remove:function(t){return remove(this,t)},text:function(t){return M(this,function(t){return void 0===t?v.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return domManip(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){manipulationTarget(this,t).appendChild(t)}})},prepend:function(){return domManip(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=manipulationTarget(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return domManip(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return domManip(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(v.cleanData(getAll(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return v.clone(this,t,e)})},html:function(t){return M(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!J.test(t)&&!$[(V.exec(t)||["",""])[1].toLowerCase()]){t=v.htmlPrefilter(t);try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(v.cleanData(getAll(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return domManip(this,arguments,function(e){var n=this.parentNode;v.inArray(this,t)<0&&(v.cleanData(getAll(this)),n&&n.replaceChild(e,this))},t)}}),v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){v.fn[t]=function(t){for(var n,i=[],r=v(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),v(r[a])[e](n),c.apply(i,n.get());return this.pushStack(i)}});var nt,it={HTML:"block",BODY:"block"},rt=/^margin/,ot=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),at=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},st=function(t,e,n,i){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=a[o];return r},lt=s.documentElement;!function(){function computeStyleTests(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",lt.appendChild(o);var s=n.getComputedStyle(a);t="1%"!==s.top,r="2px"===s.marginLeft,e="4px"===s.width,a.style.marginRight="50%",i="4px"===s.marginRight,lt.removeChild(o)}var t,e,i,r,o=s.createElement("div"),a=s.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(a),v.extend(g,{pixelPosition:function(){return computeStyleTests(),t},boxSizingReliable:function(){return null==e&&computeStyleTests(),e},pixelMarginRight:function(){return null==e&&computeStyleTests(),i},reliableMarginLeft:function(){return null==e&&computeStyleTests(),r},reliableMarginRight:function(){var t,e=a.appendChild(s.createElement("div"));return e.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",a.style.width="1px",lt.appendChild(o),t=!parseFloat(n.getComputedStyle(e).marginRight),lt.removeChild(o),a.removeChild(e),t}}))}();var ut=/^(none|table(?!-c[ea]).+)/,ct={position:"absolute",visibility:"hidden",display:"block"},dt={letterSpacing:"0",fontWeight:"400"},ft=["Webkit","O","Moz","ms"],ht=s.createElement("div").style;v.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=curCSS(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=v.camelCase(e),l=t.style;if(e=v.cssProps[s]||(v.cssProps[s]=vendorPropName(s)||s),a=v.cssHooks[e]||v.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e];o=typeof n,"string"===o&&(r=H.exec(n))&&r[1]&&(n=adjustCSS(t,e,r),o="number"),null!=n&&n===n&&("number"===o&&(n+=r&&r[3]||(v.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l[e]=n))}},css:function(t,e,n,i){var r,o,a,s=v.camelCase(e);return e=v.cssProps[s]||(v.cssProps[s]=vendorPropName(s)||s),a=v.cssHooks[e]||v.cssHooks[s],a&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=curCSS(t,e,i)),"normal"===r&&e in dt&&(r=dt[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),v.each(["height","width"],function(t,e){v.cssHooks[e]={get:function(t,n,i){if(n)return ut.test(v.css(t,"display"))&&0===t.offsetWidth?st(t,ct,function(){return getWidthOrHeight(t,e,i)}):getWidthOrHeight(t,e,i)},set:function(t,n,i){var r,o=i&&at(t),a=i&&augmentWidthOrHeight(t,e,i,"border-box"===v.css(t,"boxSizing",!1,o),o);return a&&(r=H.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=v.css(t,e)),setPositiveNumber(t,n,a)}}}),v.cssHooks.marginLeft=addGetHookIf(g.reliableMarginLeft,function(t,e){if(e)return(parseFloat(curCSS(t,"marginLeft"))||t.getBoundingClientRect().left-st(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),v.cssHooks.marginRight=addGetHookIf(g.reliableMarginRight,function(t,e){if(e)return st(t,{display:"inline-block"},curCSS,[t,"marginRight"])}),v.each({margin:"",padding:"",border:"Width"},function(t,e){v.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+j[i]+e]=o[i]||o[i-2]||o[0];return r}},rt.test(t)||(v.cssHooks[t+e].set=setPositiveNumber)}),v.fn.extend({css:function(t,e){return M(this,function(t,e,n){var i,r,o={},a=0;if(v.isArray(e)){for(i=at(t),r=e.length;a<r;a++)o[e[a]]=v.css(t,e[a],!1,i);return o}return void 0!==n?v.style(t,e,n):v.css(t,e)},t,e,arguments.length>1)},show:function(){return showHide(this,!0)},hide:function(){return showHide(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){W(this)?v(this).show():v(this).hide()})}}),v.Tween=Tween,Tween.prototype={constructor:Tween,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||v.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(v.cssNumber[n]?"":"px")},cur:function(){var t=Tween.propHooks[this.prop];return t&&t.get?t.get(this):Tween.propHooks._default.get(this)},run:function(t){var e,n=Tween.propHooks[this.prop];return this.options.duration?this.pos=e=v.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Tween.propHooks._default.set(this),this}},Tween.prototype.init.prototype=Tween.prototype,Tween.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=v.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){v.fx.step[t.prop]?v.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[v.cssProps[t.prop]]&&!v.cssHooks[t.prop]?t.elem[t.prop]=t.now:v.style(t.elem,t.prop,t.now+t.unit)}}},Tween.propHooks.scrollTop=Tween.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},v.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},v.fx=Tween.prototype.init,v.fx.step={};var pt,gt,vt=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;v.Animation=v.extend(Animation,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return adjustCSS(n.elem,t,H.exec(e),n),n}]},tweener:function(t,e){v.isFunction(t)?(e=t,t=["*"]):t=t.match(O);for(var n,i=0,r=t.length;i<r;i++)n=t[i],Animation.tweeners[n]=Animation.tweeners[n]||[],Animation.tweeners[n].unshift(e)},prefilters:[defaultPrefilter],prefilter:function(t,e){e?Animation.prefilters.unshift(t):Animation.prefilters.push(t)}}),v.speed=function(t,e,n){var i=t&&"object"==typeof t?v.extend({},t):{complete:n||!n&&e||v.isFunction(t)&&t,duration:t,easing:n&&e||e&&!v.isFunction(e)&&e};return i.duration=v.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in v.fx.speeds?v.fx.speeds[i.duration]:v.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v.isFunction(i.old)&&i.old.call(this),i.queue&&v.dequeue(this,i.queue)},i},v.fn.extend({fadeTo:function(t,e,n,i){return this.filter(W).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=v.isEmptyObject(t),o=v.speed(e,n,i),a=function(){var e=Animation(this,v.extend({},t),o);(r||R.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=v.timers,a=R.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&mt.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||v.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=R.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=v.timers,a=i?i.length:0;for(n.finish=!0,v.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),v.each(["toggle","show","hide"],function(t,e){var n=v.fn[e];v.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(genFx(e,!0),t,i,r)}}),v.each({slideDown:genFx("show"),slideUp:genFx("hide"),slideToggle:genFx("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){v.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),v.timers=[],v.fx.tick=function(){var t,e=0,n=v.timers;for(pt=v.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||v.fx.stop(),pt=void 0},v.fx.timer=function(t){v.timers.push(t),t()?v.fx.start():v.timers.pop()},v.fx.interval=13,v.fx.start=function(){gt||(gt=n.setInterval(v.fx.tick,v.fx.interval))},v.fx.stop=function(){n.clearInterval(gt),gt=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fn.delay=function(t,e){return t=v.fx?v.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}})},function(){var t=s.createElement("input"),e=s.createElement("select"),n=e.appendChild(s.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=n.selected,e.disabled=!0,g.optDisabled=!n.disabled,t=s.createElement("input"),t.value="t",t.type="radio",g.radioValue="t"===t.value}();var yt,bt=v.expr.attrHandle;v.fn.extend({attr:function(t,e){return M(this,v.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){v.removeAttr(this,t)})}}),v.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?v.prop(t,e,n):(1===o&&v.isXMLDoc(t)||(e=e.toLowerCase(),r=v.attrHooks[e]||(v.expr.match.bool.test(e)?yt:void 0)),void 0!==n?null===n?void v.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:(i=v.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&v.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(O);if(o&&1===t.nodeType)for(;n=o[r++];)i=v.propFix[n]||n,v.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)}}),yt={set:function(t,e,n){return!1===e?v.removeAttr(t,n):t.setAttribute(n,n),n}},v.each(v.expr.match.bool.source.match(/\w+/g),function(t,e){var n=bt[e]||v.find.attr;bt[e]=function(t,e,i){var r,o;return i||(o=bt[e],bt[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,bt[e]=o),r}});var wt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;v.fn.extend({prop:function(t,e){return M(this,v.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[v.propFix[t]||t]})}}),v.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&v.isXMLDoc(t)||(e=v.propFix[e]||e,r=v.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=v.find.attr(t,"tabindex");return e?parseInt(e,10):wt.test(t.nodeName)||xt.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(v.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),v.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){v.propFix[this.toLowerCase()]=this});var Tt=/[\t\r\n\f]/g;v.fn.extend({addClass:function(t){var e,n,i,r,o,a,s,l=0;if(v.isFunction(t))return this.each(function(e){v(this).addClass(t.call(this,e,getClass(this)))});if("string"==typeof t&&t)for(e=t.match(O)||[];n=this[l++];)if(r=getClass(n),i=1===n.nodeType&&(" "+r+" ").replace(Tt," ")){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=v.trim(i),r!==s&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,a,s,l=0;if(v.isFunction(t))return this.each(function(e){v(this).removeClass(t.call(this,e,getClass(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(O)||[];n=this[l++];)if(r=getClass(n),i=1===n.nodeType&&(" "+r+" ").replace(Tt," ")){for(a=0;o=e[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");s=v.trim(i),r!==s&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):v.isFunction(t)?this.each(function(n){v(this).toggleClass(t.call(this,n,getClass(this),e),e)}):this.each(function(){var e,i,r,o;if("string"===n)for(i=0,r=v(this),o=t.match(O)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==n||(e=getClass(this),e&&R.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":R.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+getClass(n)+" ").replace(Tt," ").indexOf(e)>-1)return!0;return!1}});var Ct=/\r/g,kt=/[\x20\t\r\n\f]+/g;v.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=v.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,v(this).val()):t,null==r?r="":"number"==typeof r?r+="":v.isArray(r)&&(r=v.map(r,function(t){return null==t?"":t+""})),(e=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return(e=v.valHooks[r.type]||v.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(Ct,""):null==n?"":n)}}}),v.extend({valHooks:{option:{get:function(t){var e=v.find.attr(t,"value");return null!=e?e:v.trim(v.text(t)).replace(kt," ")}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,a=o?null:[],s=o?r+1:i.length,l=r<0?s:o?r:0;l<s;l++)if(n=i[l],(n.selected||l===r)&&(g.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!v.nodeName(n.parentNode,"optgroup"))){if(e=v(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=v.makeArray(e),a=r.length;a--;)i=r[a],(i.selected=v.inArray(v.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]={set:function(t,e){if(v.isArray(e))return t.checked=v.inArray(v(t).val(),e)>-1}},g.checkOn||(v.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Et=/^(?:focusinfocus|focusoutblur)$/;v.extend(v.event,{trigger:function(t,e,i,r){var o,a,l,u,c,d,f,h=[i||s],g=p.call(t,"type")?t.type:t,m=p.call(t,"namespace")?t.namespace.split("."):[];if(a=l=i=i||s,3!==i.nodeType&&8!==i.nodeType&&!Et.test(g+v.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,t=t[v.expando]?t:new v.Event(g,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:v.makeArray(e,[t]),f=v.event.special[g]||{},r||!f.trigger||!1!==f.trigger.apply(i,e))){if(!r&&!f.noBubble&&!v.isWindow(i)){for(u=f.delegateType||g,Et.test(u+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),l=a;l===(i.ownerDocument||s)&&h.push(l.defaultView||l.parentWindow||n)}for(o=0;(a=h[o++])&&!t.isPropagationStopped();)t.type=o>1?u:f.bindType||g,d=(R.get(a,"events")||{})[t.type]&&R.get(a,"handle"),d&&d.apply(a,e),(d=c&&a[c])&&d.apply&&I(a)&&(t.result=d.apply(a,e),!1===t.result&&t.preventDefault());return t.type=g,r||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),e)||!I(i)||c&&v.isFunction(i[g])&&!v.isWindow(i)&&(l=i[c],l&&(i[c]=null),v.event.triggered=g,i[g](),v.event.triggered=void 0,l&&(i[c]=l)),t.result}},simulate:function(t,e,n){var i=v.extend(new v.Event,n,{type:t,isSimulated:!0});v.event.trigger(i,null,e)}}),v.fn.extend({trigger:function(t,e){return this.each(function(){v.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return v.event.trigger(t,e,n,!0)}}),v.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){v.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),v.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),g.focusin="onfocusin"in n,g.focusin||v.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){v.event.simulate(e,t.target,v.event.fix(t))};v.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=R.access(i,e);r||i.addEventListener(t,n,!0),R.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=R.access(i,e)-1;r?R.access(i,e,r):(i.removeEventListener(t,n,!0),R.remove(i,e))}}});var St=n.location,_t=v.now(),At=/\?/;v.parseJSON=function(t){return JSON.parse(t+"")},v.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||v.error("Invalid XML: "+t),e};var Pt=/#.*$/,Dt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,It=/^\/\//,Rt={},Lt={},zt="*/".concat("*"),Ft=s.createElement("a");Ft.href=St.href,v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:Nt.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ajaxExtend(ajaxExtend(t,v.ajaxSettings),e):ajaxExtend(v.ajaxSettings,t)},ajaxPrefilter:addToPrefiltersOrTransports(Rt),ajaxTransport:addToPrefiltersOrTransports(Lt),ajax:function(t,e){function done(t,e,a,s){var u,d,b,w,T,k=e;2!==x&&(x=2,l&&n.clearTimeout(l),i=void 0,o=s||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,a&&(w=ajaxHandleResponses(f,C,a)),w=ajaxConvert(f,w,C,u),u?(f.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(v.lastModified[r]=T),(T=C.getResponseHeader("etag"))&&(v.etag[r]=T)),204===t||"HEAD"===f.type?k="nocontent":304===t?k="notmodified":(k=w.state,d=w.data,b=w.error,u=!b)):(b=k,!t&&k||(k="error",t<0&&(t=0))),C.status=t,C.statusText=(e||k)+"",u?g.resolveWith(h,[d,k,C]):g.rejectWith(h,[C,k,b]),C.statusCode(y),y=void 0,c&&p.trigger(u?"ajaxSuccess":"ajaxError",[C,f,u?d:b]),m.fireWith(h,[C,k]),c&&(p.trigger("ajaxComplete",[C,f]),--v.active||v.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,a,l,u,c,d,f=v.ajaxSetup({},e),h=f.context||f,p=f.context&&(h.nodeType||h.jquery)?v(h):v.event,g=v.Deferred(),m=v.Callbacks("once memory"),y=f.statusCode||{},b={},w={},x=0,T="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(2===x){if(!a)for(a={};e=Ot.exec(o);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===x?o:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return x||(t=w[n]=w[n]||t,b[t]=e),this},overrideMimeType:function(t){return x||(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(x<2)for(e in t)y[e]=[y[e],t[e]];else C.always(t[C.status]);return this},abort:function(t){var e=t||T;return i&&i.abort(e),done(0,e),this}};if(g.promise(C).complete=m.add,C.success=C.done,C.error=C.fail,f.url=((t||f.url||St.href)+"").replace(Pt,"").replace(It,St.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=v.trim(f.dataType||"*").toLowerCase().match(O)||[""],null==f.crossDomain){u=s.createElement("a");try{u.href=f.url,u.href=u.href,f.crossDomain=Ft.protocol+"//"+Ft.host!=u.protocol+"//"+u.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=v.param(f.data,f.traditional)),inspectPrefiltersOrTransports(Rt,f,e,C),2===x)return C;c=v.event&&f.global,c&&0==v.active++&&v.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Mt.test(f.type),r=f.url,f.hasContent||(f.data&&(r=f.url+=(At.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=Dt.test(r)?r.replace(Dt,"$1_="+_t++):r+(At.test(r)?"&":"?")+"_="+_t++)),f.ifModified&&(v.lastModified[r]&&C.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&C.setRequestHeader("If-None-Match",v.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+zt+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)C.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,C,f)||2===x))return C.abort();T="abort";for(d in{success:1,error:1,complete:1})C[d](f[d]);if(i=inspectPrefiltersOrTransports(Lt,f,e,C)){if(C.readyState=1,c&&p.trigger("ajaxSend",[C,f]),2===x)return C;f.async&&f.timeout>0&&(l=n.setTimeout(function(){C.abort("timeout")},f.timeout));try{x=1,i.send(b,done)}catch(t){if(!(x<2))throw t;done(-1,t)}}else done(-1,"No Transport");return C},getJSON:function(t,e,n){return v.get(t,e,n,"json")},getScript:function(t,e){return v.get(t,void 0,e,"script")}}),v.each(["get","post"],function(t,e){v[e]=function(t,n,i,r){return v.isFunction(n)&&(r=r||i,i=n,n=void 0),v.ajax(v.extend({url:t,type:e,dataType:r,data:n,success:i},v.isPlainObject(t)&&t))}}),v._evalUrl=function(t){return v.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},v.fn.extend({wrapAll:function(t){var e;return v.isFunction(t)?this.each(function(e){v(this).wrapAll(t.call(this,e))}):(this[0]&&(e=v(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return v.isFunction(t)?this.each(function(e){v(this).wrapInner(t.call(this,e))}):this.each(function(){var e=v(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=v.isFunction(t);return this.each(function(n){v(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()}}),v.expr.filters.hidden=function(t){return!v.expr.filters.visible(t)},v.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var qt=/%20/g,Ht=/\[\]$/,jt=/\r?\n/g,Wt=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;v.param=function(t,e){var n,i=[],r=function(t,e){e=v.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=v.ajaxSettings&&v.ajaxSettings.traditional),v.isArray(t)||t.jquery&&!v.isPlainObject(t))v.each(t,function(){r(this.name,this.value)});else for(n in t)buildParams(n,t[n],e,r);return i.join("&").replace(qt,"+")},v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=v.prop(this,"elements");return t?v.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!v(this).is(":disabled")&&Bt.test(this.nodeName)&&!Wt.test(t)&&(this.checked||!B.test(t))}).map(function(t,e){var n=v(this).val();return null==n?null:v.isArray(n)?v.map(n,function(t){return{name:e.name,value:t.replace(jt,"\r\n")}}):{name:e.name,value:n.replace(jt,"\r\n")}}).get()}}),v.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Vt={0:200,1223:204},Xt=v.ajaxSettings.xhr();g.cors=!!Xt&&"withCredentials"in Xt,g.ajax=Xt=!!Xt,v.ajaxTransport(function(t){var e,i;if(g.cors||Xt&&!t.crossDomain)return{send:function(r,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(a in r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=i=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),i=s.onerror=e("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return v.globalEval(t),t}}}),v.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),v.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,r){e=v("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),s.head.appendChild(e[0])},abort:function(){n&&n()}}}});var $t=[],Yt=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=$t.pop()||v.expando+"_"+_t++;return this[t]=!0,t}}),v.ajaxPrefilter("json jsonp",function(t,e,i){var r,o,a,s=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=v.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Yt,"$1"+r):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||v.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=n[r],n[r]=function(){a=arguments},i.always(function(){void 0===o?v(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,$t.push(r)),a&&v.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),v.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||s;var i=E.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=buildFragment([t],e,r),r&&r.length&&v(r).remove(),v.merge([],i.childNodes))};var Ut=v.fn.load;v.fn.load=function(t,e,n){if("string"!=typeof t&&Ut)return Ut.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return s>-1&&(i=v.trim(t.slice(s)),t=t.slice(0,s)),v.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&v.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?v("<div>").append(v.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},v.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){v.fn[e]=function(t){return this.on(e,t)}}),v.expr.filters.animated=function(t){return v.grep(v.timers,function(e){return t===e.elem}).length},v.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,u,c=v.css(t,"position"),d=v(t),f={};"static"===c&&(t.style.position="relative"),s=d.offset(),o=v.css(t,"top"),l=v.css(t,"left"),u=("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1,u?(i=d.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),v.isFunction(e)&&(e=e.call(t,n,v.extend({},s))),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+r),"using"in e?e.using.call(t,f):d.css(f)}},v.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){v.offset.setOffset(this,t,e)});var e,n,i=this[0],r={top:0,left:0},o=i&&i.ownerDocument;if(o)return e=o.documentElement,v.contains(e,i)?(r=i.getBoundingClientRect(),n=getWindow(o),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===v.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),v.nodeName(t[0],"html")||(i=t.offset()),i.top+=v.css(t[0],"borderTopWidth",!0),i.left+=v.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-v.css(n,"marginTop",!0),left:e.left-i.left-v.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===v.css(t,"position");)t=t.offsetParent;return t||lt})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;v.fn[t]=function(i){return M(this,function(t,i,r){var o=getWindow(t);if(void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r},t,i,arguments.length)}}),v.each(["top","left"],function(t,e){v.cssHooks[e]=addGetHookIf(g.pixelPosition,function(t,n){if(n)return n=curCSS(t,e),ot.test(n)?v(t).position()[e]+"px":n})}),v.each({Height:"height",Width:"width"},function(t,e){v.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){v.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===r?"margin":"border");return M(this,function(e,n,i){var r;return v.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?v.css(e,n,a):v.style(e,n,i,a)},e,o?i:void 0,o,null)}})}),v.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},size:function(){return this.length}}),v.fn.andSelf=v.fn.addBack,i=[],void 0!==(r=function(){return v}.apply(e,i))&&(t.exports=r);var Qt=n.jQuery,Gt=n.$;return v.noConflict=function(t){return n.$===v&&(n.$=Gt),t&&n.jQuery===v&&(n.jQuery=Qt),v},o||(n.jQuery=n.$=v),v})},function(t,e,n){"use strict";(function(t){function escapeHtml(t){return String(t).replace(/[&<>"'\/]/g,function(t){return o[t]})}function mousePosition(e){var n=t.document.body,r={top:0,left:0};return"static"!==i(n).css("position")&&(r=i(n).offset()),{top:e.pageY-r.top,left:e.pageX-r.left}}var i=n(0),r=n(17).Promise,o={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},a=function(){if("function"==typeof t.Gettext){var e=new t.Gettext({domain:"annotator"});return function(t){return e.gettext(t)}}return function(t){return t}}();e.$=i,e.Promise=r,e.gettext=a,e.escapeHtml=escapeHtml,e.mousePosition=mousePosition}).call(e,n(2))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";(function(t){function Widget(t){this.element=o(this.constructor.template),this.classes=o.extend({},Widget.classes,this.constructor.classes),this.options=o.extend({},Widget.options,this.constructor.options,t),this.extensionsInstalled=!1}var i=n(16),r=n(1),o=r.$;Widget.prototype.destroy=function(){this.element.remove()},Widget.prototype.installExtensions=function(){if(this.options.extensions)for(var t=0,e=this.options.extensions.length;t<e;t++){var n=this.options.extensions[t];n(this)}},Widget.prototype._maybeInstallExtensions=function(){this.extensionsInstalled||(this.extensionsInstalled=!0,this.installExtensions())},Widget.prototype.attach=function(){this.element.appendTo(this.options.appendTo),this._maybeInstallExtensions()},Widget.prototype.show=function(){this.element.removeClass(this.classes.hide),this.checkOrientation()},Widget.prototype.hide=function(){o(this.element).addClass(this.classes.hide)},Widget.prototype.isShown=function(){return!o(this.element).hasClass(this.classes.hide)},Widget.prototype.checkOrientation=function(){this.resetOrientation();var e=o(t),n=this.element.children(":first"),i=n.offset(),r={top:e.scrollTop(),right:e.width()+e.scrollLeft()},a={top:i.top,right:i.left+n.width()};return a.top-r.top<0&&this.invertY(),a.right-r.right>0&&this.invertX(),this},Widget.prototype.resetOrientation=function(){return this.element.removeClass(this.classes.invert.x).removeClass(this.classes.invert.y),this},Widget.prototype.invertX=function(){return this.element.addClass(this.classes.invert.x),this},Widget.prototype.invertY=function(){return this.element.addClass(this.classes.invert.y),this},Widget.prototype.isInvertedY=function(){return this.element.hasClass(this.classes.invert.y)},Widget.prototype.isInvertedX=function(){return this.element.hasClass(this.classes.invert.x)},Widget.classes={hide:"annotator-hide",invert:{x:"annotator-invert-x",y:"annotator-invert-y"}},Widget.template="<div></div>",Widget.options={appendTo:"body"},Widget.extend=i,e.Widget=Widget}).call(e,n(2))},function(t,e,n){var i;!function(r,o,a){function _addEvent(t,e,n){if(t.addEventListener)return void t.addEventListener(e,n,!1);t.attachEvent("on"+e,n)}function _characterFromEvent(t){if("keypress"==t.type){var e=String.fromCharCode(t.which);return t.shiftKey||(e=e.toLowerCase()),e}return l[t.which]?l[t.which]:u[t.which]?u[t.which]:String.fromCharCode(t.which).toLowerCase()}function _modifiersMatch(t,e){return t.sort().join(",")===e.sort().join(",")}function _eventModifiers(t){var e=[];return t.shiftKey&&e.push("shift"),t.altKey&&e.push("alt"),t.ctrlKey&&e.push("ctrl"),t.metaKey&&e.push("meta"),e}function _preventDefault(t){if(t.preventDefault)return void t.preventDefault();t.returnValue=!1}function _stopPropagation(t){if(t.stopPropagation)return void t.stopPropagation();t.cancelBubble=!0}function _isModifier(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function _getReverseMap(){if(!s){s={};for(var t in l)t>95&&t<112||l.hasOwnProperty(t)&&(s[l[t]]=t)}return s}function _pickBestAction(t,e,n){return n||(n=_getReverseMap()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function _keysFromString(t){return"+"===t?["+"]:(t=t.replace(/\+{2}/g,"+plus"),t.split("+"))}function _getKeyInfo(t,e){var n,i,r,o=[];for(n=_keysFromString(t),r=0;r<n.length;++r)i=n[r],d[i]&&(i=d[i]),e&&"keypress"!=e&&c[i]&&(i=c[i],o.push("shift")),_isModifier(i)&&o.push(i);return e=_pickBestAction(i,o,e),{key:i,modifiers:o,action:e}}function _belongsTo(t,e){return null!==t&&t!==o&&(t===e||_belongsTo(t.parentNode,e))}function Mousetrap(t){function _resetSequences(t){t=t||{};var e,n=!1;for(e in i)t[e]?n=!0:i[e]=0;n||(s=!1)}function _getMatches(t,n,r,o,a,s){var l,u,c=[],d=r.type;if(!e._callbacks[t])return[];for("keyup"==d&&_isModifier(t)&&(n=[t]),l=0;l<e._callbacks[t].length;++l)if(u=e._callbacks[t][l],(o||!u.seq||i[u.seq]==u.level)&&d==u.action&&("keypress"==d&&!r.metaKey&&!r.ctrlKey||_modifiersMatch(n,u.modifiers))){var f=!o&&u.combo==a,h=o&&u.seq==o&&u.level==s;(f||h)&&e._callbacks[t].splice(l,1),c.push(u)}return c}function _fireCallback(t,n,i,r){e.stopCallback(n,n.target||n.srcElement,i,r)||!1===t(n,i)&&(_preventDefault(n),_stopPropagation(n))}function _handleKeyEvent(t){"number"!=typeof t.which&&(t.which=t.keyCode);var n=_characterFromEvent(t);if(n)return"keyup"==t.type&&r===n?void(r=!1):void e.handleKey(n,_eventModifiers(t),t)}function _resetSequenceTimer(){clearTimeout(n),n=setTimeout(_resetSequences,1e3)}function _bindSequence(t,e,n,o){function _callbackAndReset(e){_fireCallback(n,e,t),"keyup"!==o&&(r=_characterFromEvent(e)),setTimeout(_resetSequences,10)}i[t]=0;for(var a=0;a<e.length;++a){var l=a+1===e.length,u=l?_callbackAndReset:function(e){return function(){s=e,++i[t],_resetSequenceTimer()}}(o||_getKeyInfo(e[a+1]).action);_bindSingle(e[a],u,o,t,a)}}function _bindSingle(t,n,i,r,o){e._directMap[t+":"+i]=n,t=t.replace(/\s+/g," ");var a,s=t.split(" ");if(s.length>1)return void _bindSequence(t,s,n,i);a=_getKeyInfo(t,i),e._callbacks[a.key]=e._callbacks[a.key]||[],_getMatches(a.key,a.modifiers,{type:a.action},r,t,o),e._callbacks[a.key][r?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:r,level:o,combo:t})}var e=this;if(t=t||o,!(e instanceof Mousetrap))return new Mousetrap(t);e.target=t,e._callbacks={},e._directMap={};var n,i={},r=!1,a=!1,s=!1;e._handleKey=function(t,e,n){var i,r=_getMatches(t,e,n),o={},l=0,u=!1;for(i=0;i<r.length;++i)r[i].seq&&(l=Math.max(l,r[i].level));for(i=0;i<r.length;++i)if(r[i].seq){if(r[i].level!=l)continue;u=!0,o[r[i].seq]=1,_fireCallback(r[i].callback,n,r[i].combo,r[i].seq)}else u||_fireCallback(r[i].callback,n,r[i].combo);var c="keypress"==n.type&&a;n.type!=s||_isModifier(t)||c||_resetSequences(o),a=u&&"keydown"==n.type},e._bindMultiple=function(t,e,n){for(var i=0;i<t.length;++i)_bindSingle(t[i],e,n)},_addEvent(t,"keypress",_handleKeyEvent),_addEvent(t,"keydown",_handleKeyEvent),_addEvent(t,"keyup",_handleKeyEvent)}if(r){for(var s,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},u={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},c={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},f=1;f<20;++f)l[111+f]="f"+f;for(f=0;f<=9;++f)l[f+96]=f.toString();Mousetrap.prototype.bind=function(t,e,n){var i=this;return t=t instanceof Array?t:[t],i._bindMultiple.call(i,t,e,n),i},Mousetrap.prototype.unbind=function(t,e){var n=this;return n.bind.call(n,t,function(){},e)},Mousetrap.prototype.trigger=function(t,e){var n=this;return n._directMap[t+":"+e]&&n._directMap[t+":"+e]({},t),n},Mousetrap.prototype.reset=function(){var t=this;return t._callbacks={},t._directMap={},t},Mousetrap.prototype.stopCallback=function(t,e){var n=this;return!((" "+e.className+" ").indexOf(" mousetrap ")>-1)&&(!_belongsTo(e,n.target)&&("INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable))},Mousetrap.prototype.handleKey=function(){var t=this;return t._handleKey.apply(t,arguments)},Mousetrap.addKeycodes=function(t){for(var e in t)t.hasOwnProperty(e)&&(l[e]=t[e]);s=null},Mousetrap.init=function(){var t=Mousetrap(o);for(var e in t)"_"!==e.charAt(0)&&(Mousetrap[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e))},Mousetrap.init(),r.Mousetrap=Mousetrap,void 0!==t&&t.exports&&(t.exports=Mousetrap),void 0!==(i=function(){return Mousetrap}.call(e,n,e,t))&&(t.exports=i)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(t,e,n){"use strict";var i;e.acl=function(){var t=new i;return{configure:function(e){e.registerUtility(t,"authorizationPolicy")}}},i=e.AclAuthzPolicy=function(){},i.prototype.permits=function(t,e,n){var i=this.authorizedUserId(n),r=e.permissions;if(r){var o=r[t];if(void 0===o||null===o)return!0;for(var a=0,s=o.length;a<s;a++)if(i===o[a])return!0;return!1}return!e.user||i===e.user},i.prototype.authorizedUserId=function(t){return t}},function(t,e,n){"use strict";var i;e.simple=function(){var t=new i;return{configure:function(e){e.registerUtility(t,"identityPolicy")},beforeAnnotationCreated:function(e){e.user=t.who()}}},i=function(){this.identity=null},e.SimpleIdentityPolicy=i,i.prototype.who=function(){return this.identity}},function(t,e,n){"use strict";(function(t){function banner(e,n){void 0!==n&&null!==n||(n=o);var l=r(a)[0],u=!1,c=function(){u||(u=!0,r(l).removeClass(s.show).removeClass(s[n]),setTimeout(function(){r(l).remove()},500))};return r(l).addClass(s.show).addClass(s[n]).html(i.escapeHtml(e||"")).appendTo(t.document.body),r(l).on("click",c),setTimeout(c,5e3),{close:c}}var i=n(1),r=i.$,o="info",a="<div class='annotator-notice'></div>",s={show:"annotator-notice-show",info:"annotator-notice-info",success:"annotator-notice-success",error:"annotator-notice-error"};e.banner=banner,e.defaultNotifier=banner,e.INFO=o,e.SUCCESS="success",e.ERROR="error"}).call(e,n(2))},function(t,e,n){"use strict";function StorageAdapter(t,e){this.store=t,this.runHook=e}var i=n(1),r=i.$,o=i.gettext,a=i.Promise,s=function(){var t;return t=-1,function(){return t+=1}}();e.debug=function(){function trace(t,e){var n=JSON.parse(JSON.stringify(e));console.debug("annotator.storage.debug: "+t,n)}return{create:function(t){return t.id=s(),trace("create",t),t},update:function(t){return trace("update",t),t},delete:function(t){return trace("destroy",t),t},query:function(t){return trace("query",t),{results:[],meta:{total:0}}},configure:function(t){t.registerUtility(this,"storage")}}},e.noop=function(){return{create:function(t){return void 0!==t.id&&null!==t.id||(t.id=s()),t},update:function(t){return t},delete:function(t){return t},query:function(){return{results:[]}},configure:function(t){t.registerUtility(this,"storage")}}};var l;e.http=function(t){var e=function(){};void 0!==t&&null!==t||(t={}),t.onError=t.onError||function(t,n){console.error(t,n),e(t,"error")};var n=new l(t);return{configure:function(t){t.registerUtility(n,"storage")},start:function(t){e=t.notify}}},l=e.HttpStorage=function HttpStorage(t){this.options=r.extend(!0,{},HttpStorage.options,t),this.onError=this.options.onError},l.prototype.create=function(t){return this._apiRequest("create",t)},l.prototype.update=function(t){return this._apiRequest("update",t)},l.prototype.delete=function(t){return this._apiRequest("destroy",t)},l.prototype.query=function(t){return this._apiRequest("search",t).then(function(t){var e=t.rows;return delete t.rows,{results:e,meta:t}})},l.prototype.setHeader=function(t,e){this.options.headers[t]=e},l.prototype._apiRequest=function(t,e){var n=e&&e.id,i=this._urlFor(t,n),o=this._apiRequestOptions(t,e),a=r.ajax(i,o);return a._id=n,a._action=t,a},l.prototype._apiRequestOptions=function(t,e){var n=this._methodFor(t),i=this,o={type:n,dataType:"json",error:function(){i._onError.apply(i,arguments)},headers:this.options.headers};if(!this.options.emulateHTTP||"PUT"!==n&&"DELETE"!==n||(o.headers=r.extend(o.headers,{"X-HTTP-Method-Override":n}),o.type="POST"),"search"===t)return o=r.extend(o,{data:e});var a=e&&JSON.stringify(e);return this.options.emulateJSON?(o.data={json:a},this.options.emulateHTTP&&(o.data._method=n),o):o=r.extend(o,{data:a,contentType:"application/json; charset=utf-8"})},l.prototype._urlFor=function(t,e){void 0!==e&&null!==e||(e="");var n="";return void 0!==this.options.prefix&&null!==this.options.prefix&&(n=this.options.prefix),n+=this.options.urls[t],n=n.replace(/idAnnotation/,e)},l.prototype._methodFor=function(t){return{create:"POST",update:"PUT",destroy:"DELETE",search:"GET"}[t]},l.prototype._onError=function(t){if("function"==typeof this.onError){var e;e=o(400===t.status?"The annotation store did not understand the request! (Error 400)":401===t.status?"You must be logged in to perform this operation! (Error 401)":403===t.status?"You don't have permission to perform this operation! (Error 403)":404===t.status?"Could not connect to the annotation store! (Error 404)":500===t.status?"Internal error in annotation store! (Error 500)":"Unknown error while speaking to annotation store!"),this.onError(e,t)}},l.options={emulateHTTP:!1,emulateJSON:!1,headers:{},onError:function(t){console.error("API request failed: "+t)},prefix:"/store",urls:{create:"/annotations",update:"/annotations/idAnnotation",destroy:"/annotations/idAnnotation",search:"/search"}},StorageAdapter.prototype.create=function(t){return void 0!==t&&null!==t||(t={}),this._cycle(t,"create","beforeAnnotationCreated","annotationCreated")},StorageAdapter.prototype.update=function(t){if(void 0===t.id||null===t.id)throw new TypeError("annotation must have an id for update()");return this._cycle(t,"update","beforeAnnotationUpdated","annotationUpdated")},StorageAdapter.prototype.delete=function(t){if(void 0===t.id||null===t.id)throw new TypeError("annotation must have an id for delete()");return this._cycle(t,"delete","beforeAnnotationDeleted","annotationDeleted")},StorageAdapter.prototype.query=function(t){return a.resolve(this.store.query(t))},StorageAdapter.prototype.load=function(t){var e=this;return this.query(t).then(function(t){e.runHook("annotationsLoaded",[t.results])})},StorageAdapter.prototype._cycle=function(t,e,n,i){var o=this;return this.runHook(n,[t]).then(function(){var n=r.extend(!0,{},t);delete n._local;var i=o.store[e](n);return a.resolve(i)}).then(function(e){for(var n in t)t.hasOwnProperty(n)&&"_local"!==n&&delete t[n];return r.extend(t,e),o.runHook(i,[t]),t})},e.StorageAdapter=StorageAdapter},function(t,e,n){"use strict";var i=n(3).Widget,r=n(1),o=r.$,a=r.gettext,s="annotator-adder",l=i.extend({constructor:function(t){i.call(this,t),this.ignoreMouseup=!1,this.annotation=null,this.onCreate=this.options.onCreate;var e=this;this.element.on("click."+s,"button",function(t){e._onClick(t)}).on("mousedown."+s,"button",function(t){e._onMousedown(t)}),this.document=this.element[0].ownerDocument,o(this.document.body).on("mouseup."+s,function(t){e._onMouseup(t)})},destroy:function(){this.element.off("."+s),o(this.document.body).off("."+s),i.prototype.destroy.call(this)},load:function(t,e){this.annotation=t,this.show(e)},show:function(t){void 0!==t&&null!==t&&this.element.css({top:t.top,left:t.left}),i.prototype.show.call(this)},_onMousedown:function(t){t.which>1||(t.preventDefault(),this.ignoreMouseup=!0)},_onMouseup:function(t){t.which>1||this.ignoreMouseup&&t.stopImmediatePropagation()},_onClick:function(t){t.which>1||(t.preventDefault(),this.hide(),this.ignoreMouseup=!1,null!==this.annotation&&"function"==typeof this.onCreate&&this.onCreate(this.annotation,t))}});l.template=['<div class="annotator-adder annotator-hide">',' <button type="button">'+a("Annotate")+"</button>","</div>"].join("\n"),l.options={onCreate:null},e.Adder=l},function(t,e,n){"use strict";function preventEventDefault(t){void 0!==t&&null!==t&&"function"==typeof t.preventDefault&&t.preventDefault()}var i=n(3).Widget,r=n(1),o=r.$,a=r.gettext,s=r.Promise,l="annotator-editor",u=function(){var t;return t=-1,function(){return t+=1}}(),c=e.dragTracker=function(t,e){function mouseMove(t){if(!i&&null!==n){var r={y:t.pageY-n.top,x:t.pageX-n.left},o=!0;"function"==typeof e&&(o=e(r)),!1!==o&&(n={top:t.pageY,left:t.pageX}),i=!0,setTimeout(function(){i=!1},1e3/60)}}function mouseUp(){n=null,o(t.ownerDocument).off("mouseup",mouseUp).off("mousemove",mouseMove)}function mouseDown(e){e.target===t&&(n={top:e.pageY,left:e.pageX},o(t.ownerDocument).on("mouseup",mouseUp).on("mousemove",mouseMove),e.preventDefault())}function destroy(){o(t).off("mousedown",mouseDown)}var n=null,i=!1;return o(t).on("mousedown",mouseDown),{destroy:destroy}},d=e.resizer=function(t,e,n){function translate(t){var e=1,i=-1;return"function"==typeof n.invertedX&&n.invertedX()&&(e=-1),"function"==typeof n.invertedY&&n.invertedY()&&(i=1),{x:t.x*e,y:t.y*i}}function resize(t){var e=i.height(),n=i.width(),r=translate(t);return Math.abs(r.x)>0&&i.width(n+r.x),Math.abs(r.y)>0&&i.height(e+r.y),i.height()!==e||i.width()!==n}var i=o(t);return void 0!==n&&null!==n||(n={}),c(e,resize)},f=e.mover=function(t,e){function move(e){o(t).css({top:parseInt(o(t).css("top"),10)+e.y,left:parseInt(o(t).css("left"),10)+e.x})}return c(e,move)},h=e.Editor=i.extend({constructor:function(t){i.call(this,t),this.fields=[],this.annotation={},this.options.defaultFields&&this.addField({type:"textarea",label:a("Comments")+"…",load:function(t,e){o(t).find("textarea").val(e.text||"")},submit:function(t,e){e.text=o(t).find("textarea").val()}});var e=this;this.element.on("submit."+l,"form",function(t){e._onFormSubmit(t)}).on("click."+l,".annotator-save",function(t){e._onSaveClick(t)}).on("click."+l,".annotator-cancel",function(t){e._onCancelClick(t)}).on("mouseover."+l,".annotator-cancel",function(t){e._onCancelMouseover(t)}).on("keydown."+l,"textarea",function(t){e._onTextareaKeydown(t)})},destroy:function(){this.element.off("."+l),i.prototype.destroy.call(this)},show:function(t){void 0!==t&&null!==t&&this.element.css({top:t.top,left:t.left}),this.element.find(".annotator-save").addClass(this.classes.focus),i.prototype.show.call(this),this.element.find(":input:first").focus(),this._setupDraggables()},load:function(t,e){this.annotation=t;for(var n=0,i=this.fields.length;n<i;n++){var r=this.fields[n];r.load(r.element,this.annotation)}var o=this;return new s(function(t,n){o.dfd={resolve:t,reject:n},o.show(e)})},submit:function(){for(var t=0,e=this.fields.length;t<e;t++){var n=this.fields[t];n.submit(n.element,this.annotation)}void 0!==this.dfd&&null!==this.dfd&&this.dfd.resolve(),this.hide()},cancel:function(){void 0!==this.dfd&&null!==this.dfd&&this.dfd.reject("editing cancelled"),this.hide()},addField:function(t){var e=o.extend({id:"annotator-field-"+u(),type:"input",label:"",load:function(){},submit:function(){}},t),n=null,i=o('<li class="annotator-item" />');return e.element=i[0],"textarea"===e.type?n=o("<textarea />"):"checkbox"===e.type?n=o('<input type="checkbox" />'):"input"===e.type?n=o("<input />"):"select"===e.type&&(n=o("<select />")),i.append(n),n.attr({id:e.id,placeholder:e.label}),"checkbox"===e.type&&(i.addClass("annotator-checkbox"),i.append(o("<label />",{for:e.id,html:e.label}))),this.element.find("ul:first").append(i),this.fields.push(e),e.element},checkOrientation:function(){i.prototype.checkOrientation.call(this);var t=this.element.find("ul").first(),e=this.element.find(".annotator-controls");return this.element.hasClass(this.classes.invert.y)?e.insertBefore(t):e.is(":first-child")&&e.insertAfter(t),this},_onFormSubmit:function(t){preventEventDefault(t),this.submit()},_onSaveClick:function(t){preventEventDefault(t),this.submit()},_onCancelClick:function(t){preventEventDefault(t),this.cancel()},_onCancelMouseover:function(){this.element.find("."+this.classes.focus).removeClass(this.classes.focus)},_onTextareaKeydown:function(t){27===t.which?this.cancel():13!==t.which||t.shiftKey||this.submit()},_setupDraggables:function(){void 0!==this._resizer&&null!==this._resizer&&this._resizer.destroy(),void 0!==this._mover&&null!==this._mover&&this._mover.destroy(),this.element.find(".annotator-resize").remove();var t;(t=this.element.hasClass(this.classes.invert.y)?this.element.find(".annotator-item:last"):this.element.find(".annotator-item:first"))&&o('<span class="annotator-resize"></span>').appendTo(t);var e=this.element.find(".annotator-controls")[0],n=this.element.find("textarea:first")[0],i=this.element.find(".annotator-resize")[0],r=this;this._resizer=d(n,i,{invertedX:function(){return r.element.hasClass(r.classes.invert.x)},invertedY:function(){return r.element.hasClass(r.classes.invert.y)}}),this._mover=f(this.element[0],e)}});h.classes={hide:"annotator-hide",focus:"annotator-focus"},h.template=['<div class="annotator-outer annotator-editor annotator-hide">',' <form class="annotator-widget">',' <ul class="annotator-listing"></ul>',' <div class="annotator-controls">',' <a href="#cancel" class="annotator-cancel">'+a("Cancel")+"</a>",' <a href="#save"',' class="annotator-save annotator-focus">'+a("Save")+"</a>"," </div>"," </form>","</div>"].join("\n"),h.options={defaultFields:!0},e.standalone=function(t){var n=new e.Editor(t);return{destroy:function(){n.destroy()},beforeAnnotationCreated:function(t){return n.load(t)},beforeAnnotationUpdated:function(t){return n.load(t)}}}},function(t,e,n){"use strict";(function(t){function highlightRange(e,n){void 0!==n&&null!==n||(n="annotator-hl");for(var i=/^\s*$/,r=e.textNodes(),o=[],a=0,s=r.length;a<s;a++){var l=r[a];if(!i.test(l.nodeValue)){var u=t.document.createElement("span");u.className=n,l.parentNode.replaceChild(u,l),u.appendChild(l),o.push(u)}}return o}function reanchorRange(t,e){try{return i.Range.sniff(t).normalize(e)}catch(t){if(!(t instanceof i.Range.RangeError))throw t}return null}var i=n(18),r=n(1),o=r.$,a=r.Promise,s=e.Highlighter=function Highlighter(t,e){this.element=t,this.options=o.extend(!0,{},Highlighter.options,e)};s.prototype.destroy=function(){o(this.element).find("."+this.options.highlightClass).each(function(t,e){o(e).contents().insertBefore(e),o(e).remove()})},s.prototype.drawAll=function(t){var e=this;return new a(function(n){function loader(t){void 0!==t&&null!==t||(t=[]);for(var r=t.splice(0,e.options.chunkSize),o=0,a=r.length;o<a;o++)i=i.concat(e.draw(r[o]));t.length>0?setTimeout(function(){loader(t)},e.options.chunkDelay):n(i)}var i=[];loader(t.slice())})},s.prototype.draw=function(t){for(var e=[],n=0,i=t.ranges.length;n<i;n++){var r=reanchorRange(t.ranges[n],this.element);null!==r&&e.push(r)}void 0!==t._local&&null!==t._local||(t._local={}),void 0!==t._local.highlights&&null===t._local.highlights||(t._local.highlights=[]);for(var a=0,s=e.length;a<s;a++){var l=e[a];o.merge(t._local.highlights,highlightRange(l,this.options.highlightClass))}return o(t._local.highlights).data("annotation",t),void 0!==t.id&&null!==t.id&&o(t._local.highlights).attr("data-annotation-id",t.id),t._local.highlights},s.prototype.undraw=function(t){if(void 0!==t._local&&null!==t._local&&void 0!==t._local.highlights&&null!==t._local.highlights){for(var e=0,n=t._local.highlights.length;e<n;e++){var i=t._local.highlights[e];null!==i.parentNode&&o(i).replaceWith(i.childNodes)}delete t._local.highlights}},s.prototype.redraw=function(t){return this.undraw(t),this.draw(t)},s.options={highlightClass:"annotator-hl",chunkSize:10,chunkDelay:10},e.standalone=function(t,n){var i=e.Highlighter(t,n);return{destroy:function(){i.destroy()},annotationsLoaded:function(t){i.drawAll(t)},annotationCreated:function(t){i.draw(t)},annotationDeleted:function(t){i.undraw(t)},annotationUpdated:function(t){i.redraw(t)}}}}).call(e,n(2))},function(t,e,n){"use strict";(function(t){function isAnnotator(t){return 0!==o(t).parents().addBack().filter("[class^=annotator-]").length}function TextSelector(t,e){if(this.element=t,this.options=o.extend(!0,{},TextSelector.options,e),this.onSelection=this.options.onSelection,void 0!==this.element.ownerDocument&&null!==this.element.ownerDocument){var n=this;this.document=this.element.ownerDocument,o(this.document.body).on("mouseup."+a,function(t){n._checkForEndSelection(t)})}else console.warn("You created an instance of the TextSelector on an element that doesn't have an ownerDocument. This won't work! Please ensure the element is added to the DOM before the plugin is configured:",this.element)}var i=n(18),r=n(1),o=r.$,a="annotator-textselector";TextSelector.prototype.destroy=function(){this.document&&o(this.document.body).off("."+a)},TextSelector.prototype.captureDocumentSelection=function(){var e,n,r=[],o=[],a=t.getSelection();if(a.isCollapsed)return[];for(e=0;e<a.rangeCount;e++){var s=a.getRangeAt(e),l=new i.Range.BrowserRange(s),u=l.normalize().limit(this.element);null===u?o.push(s):r.push(u)}for(a.removeAllRanges(),e=0,n=o.length;e<n;e++)a.addRange(o[e]);for(e=0,n=r.length;e<n;e++){var c=r[e],d=this.document.createRange();d.setStartBefore(c.start),d.setEndAfter(c.end),a.addRange(d)}return r},TextSelector.prototype._checkForEndSelection=function(t){var e=this,n=function(){"function"==typeof e.onSelection&&e.onSelection([],t)},i=this.captureDocumentSelection();if(0===i.length)return void n();for(var r=0,a=i.length;r<a;r++){var s=i[r].commonAncestor;if(o(s).hasClass("annotator-hl")&&(s=o(s).parents("[class!=annotator-hl]")[0]),isAnnotator(s))return void n()}"function"==typeof this.onSelection&&this.onSelection(i,t)},TextSelector.options={onSelection:null},e.TextSelector=TextSelector}).call(e,n(2))},function(t,e,n){"use strict";function parseLinks(t,e,n){n=o.extend({},n,{rel:e});for(var i=[],r=0,a=t.length;r<a;r++){var s=t[r],l=!0;for(var u in n)if(n.hasOwnProperty(u)&&s[u]!==n[u]){l=!1;break}l&&i.push(s)}return i}var i=n(3).Widget,r=n(1),o=r.$,a=r.gettext,s="annotator-viewer",l=e.Viewer=i.extend({constructor:function(t){i.call(this,t),this.itemTemplate=l.itemTemplate,this.fields=[],this.annotations=[],this.hideTimer=null,this.hideTimerDfd=null,this.hideTimerActivity=null,this.mouseDown=!1,this.render=function(t){return t.text?r.escapeHtml(t.text):"<i>"+a("No comment")+"</i>"};var e=this;if(this.options.defaultFields&&this.addField({load:function(t,n){o(t).html(e.render(n))}}),"function"!=typeof this.options.onEdit)throw new TypeError("onEdit callback must be a function");if("function"!=typeof this.options.onDelete)throw new TypeError("onDelete callback must be a function");if("function"!=typeof this.options.permitEdit)throw new TypeError("permitEdit callback must be a function");if("function"!=typeof this.options.permitDelete)throw new TypeError("permitDelete callback must be a function");this.options.autoViewHighlights&&(this.document=this.options.autoViewHighlights.ownerDocument,o(this.options.autoViewHighlights).on("mouseover."+s,".annotator-hl",function(t){t.target===this&&e._onHighlightMouseover(t)}).on("mouseleave."+s,".annotator-hl",function(){e._startHideTimer()}),o(this.document.body).on("mousedown."+s,function(t){1===t.which&&(e.mouseDown=!0)}).on("mouseup."+s,function(t){1===t.which&&(e.mouseDown=!1)})),this.element.on("click."+s,".annotator-edit",function(t){e._onEditClick(t)}).on("click."+s,".annotator-delete",function(t){e._onDeleteClick(t)}).on("mouseenter."+s,function(){e._clearHideTimer()}).on("mouseleave."+s,function(){e._startHideTimer()})},destroy:function(){this.options.autoViewHighlights&&(o(this.options.autoViewHighlights).off("."+s),o(this.document.body).off("."+s)),this.element.off("."+s),i.prototype.destroy.call(this)},show:function(t){void 0!==t&&null!==t&&this.element.css({top:t.top,left:t.left});var e=this.element.find(".annotator-controls").addClass(this.classes.showControls),n=this;setTimeout(function(){e.removeClass(n.classes.showControls)},500),i.prototype.show.call(this)},load:function(t,e){this.annotations=t||[];for(var n=this.element.find("ul:first").empty(),i=0,r=this.annotations.length;i<r;i++){var o=this.annotations[i];this._annotationItem(o).appendTo(n).data("annotation",o)}this.show(e)},setRenderer:function(t){this.render=t},_annotationItem:function(t){var e=o(this.itemTemplate).clone(),n=e.find(".annotator-controls"),i=n.find(".annotator-link"),r=n.find(".annotator-edit"),a=n.find(".annotator-delete"),s=parseLinks(t.links||[],"alternate",{type:"text/html"});s.length>0&&void 0!==s[0].href&&null!==s[0].href?i.attr("href",s[0].href):i.remove();var l={};this.options.permitEdit(t)?(l.showEdit=function(){r.removeAttr("disabled")},l.hideEdit=function(){r.attr("disabled","disabled")}):r.remove(),this.options.permitDelete(t)?(l.showDelete=function(){a.removeAttr("disabled")},l.hideDelete=function(){a.attr("disabled","disabled")}):a.remove();for(var u=0,c=this.fields.length;u<c;u++){var d=this.fields[u],f=o(d.element).clone().appendTo(e)[0];d.load(f,t,l)}return e},addField:function(t){var e=o.extend({load:function(){}},t);return e.element=o("<div />")[0],this.fields.push(e),this},_onEditClick:function(t){var e=o(t.target).parents(".annotator-annotation").data("annotation");this.hide(),this.options.onEdit(e)},_onDeleteClick:function(t){if(window.confirm(a("Delete this annotation?"))){var e=o(t.target).parents(".annotator-annotation").data("annotation");this.hide(),this.options.onDelete(e)}},_onHighlightMouseover:function(t){if(!this.mouseDown){var e=this;this._startHideTimer(!0).done(function(){var n=o(t.target).parents(".annotator-hl").addBack().map(function(t,e){return o(e).data("annotation")}).toArray();e.load(n,r.mousePosition(t))})}},_startHideTimer:function(t){if(void 0!==t&&null!==t||(t=!1),this.hideTimer){if(!1===t||this.hideTimerActivity===t)return this.hideTimerDfd;this._clearHideTimer()}var e;if(e=t?this.options.activityDelay:this.options.inactivityDelay,this.hideTimerDfd=o.Deferred(),this.isShown()){var n=this;this.hideTimer=setTimeout(function(){n.hide(),n.hideTimerDfd.resolve(),n.hideTimer=null},e),this.hideTimerActivity=Boolean(t)}else this.hideTimer=null,this.hideTimerDfd.resolve(),this.hideTimerActivity=null;return this.hideTimerDfd.promise()},_clearHideTimer:function(){clearTimeout(this.hideTimer),this.hideTimer=null,this.hideTimerDfd.reject(),this.hideTimerActivity=null}});l.classes={showControls:"annotator-visible"},l.template=['<div class="annotator-outer annotator-viewer annotator-hide">',' <ul class="annotator-widget annotator-listing"></ul>',"</div>"].join("\n"),l.itemTemplate=['<li class="annotator-annotation annotator-item">',' <span class="annotator-controls">',' <a href="#"',' title="'+a("View as webpage")+'"',' class="annotator-link">'+a("View as webpage")+"</a>",' <button type="button"',' title="'+a("Edit")+'"',' class="annotator-edit">'+a("Edit")+"</button>",' <button type="button"',' title="'+a("Delete")+'"',' class="annotator-delete">'+a("Delete")+"</button>"," </span>","</li>"].join("\n"),l.options={defaultFields:!0,inactivityDelay:500,activityDelay:100,permitEdit:function(){return!1},permitDelete:function(){return!1},autoViewHighlights:null,onEdit:function(){},onDelete:function(){}},e.standalone=function(t){var n;return void 0!==t&&null!==t||(t={}),{start:function(i){var r=i.registry.getUtility("identityPolicy"),o=i.registry.getUtility("authorizationPolicy");void 0===t.onEdit&&(t.onEdit=function(t){i.annotations.update(t)}),void 0===t.onDelete&&(t.onDelete=function(t){i.annotations.delete(t)}),void 0===t.permitEdit&&(t.permitEdit=function(t){return o.permits("update",t,r.who())}),void 0===t.permitDelete&&(t.permitDelete=function(t){return o.permits("delete",t,r.who())}),n=new e.Viewer(t)},destroy:function(){n.destroy()}}}},function(t,e,n){"use strict"},function(t,e,n){"use strict";var i=n(4),r=function(t){return t&&t.__esModule?t:{default:t}}(i);r.default.bind("g u",function(){window.location.href=Routing.generate("homepage")}),r.default.bind("g s",function(){window.location.href=Routing.generate("starred")}),r.default.bind("g r",function(){window.location.href=Routing.generate("archive")}),r.default.bind("g a",function(){window.location.href=Routing.generate("all")}),r.default.bind("g t",function(){window.location.href=Routing.generate("tag")}),r.default.bind("g c",function(){window.location.href=Routing.generate("config")}),r.default.bind("g i",function(){window.location.href=Routing.generate("import")}),r.default.bind("g d",function(){window.location.href=Routing.generate("developer")}),r.default.bind("?",function(){window.location.href=Routing.generate("howto")}),r.default.bind("g l",function(){window.location.href=Routing.generate("fos_user_security_logout")})},function(t,e,n){!function(e){t.exports=e()}(function(){"use strict";var t={has:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},extend:function(t){for(var e=1;e<arguments.length;++e){var n=arguments[e];if(n)for(var i in n)t[i]=n[i]}return t}};return function(e,n){var i,r=this;i=e&&t.has(e,"constructor")?e.constructor:function(){return r.apply(this,arguments)},t.extend(i,r,n);var o=function(){this.constructor=i};return o.prototype=r.prototype,i.prototype=new o,e&&t.extend(i.prototype,e),i.__super__=r.prototype,i}})},function(t,e,n){(function(e,i){!function(e,n){t.exports=n()}(0,function(){"use strict";function objectOrFunction(t){return"function"==typeof t||"object"==typeof t&&null!==t}function isFunction(t){return"function"==typeof t}function setScheduler(t){s=t}function setAsap(t){l=t}function useVertxTimer(){return function(){a(flush)}}function useSetTimeout(){var t=setTimeout;return function(){return t(flush,1)}}function flush(){for(var t=0;t<o;t+=2){(0,p[t])(p[t+1]),p[t]=void 0,p[t+1]=void 0}o=0}function then(t,e){var n=arguments,i=this,r=new this.constructor(noop);void 0===r[v]&&makePromise(r);var o=i._state;return o?function(){var t=n[o-1];l(function(){return invokeCallback(o,r,t,i._result)})}():subscribe(i,r,t,e),r}function resolve(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(noop);return _resolve(n,t),n}function noop(){}function selfFulfillment(){return new TypeError("You cannot resolve a promise with itself")}function cannotReturnOwn(){return new TypeError("A promises callback cannot return that same promise.")}function getThen(t){try{return t.then}catch(t){return w.error=t,w}}function tryThen(t,e,n,i){try{t.call(e,n,i)}catch(t){return t}}function handleForeignThenable(t,e,n){l(function(t){var i=!1,r=tryThen(n,e,function(n){i||(i=!0,e!==n?_resolve(t,n):fulfill(t,n))},function(e){i||(i=!0,_reject(t,e))},"Settle: "+(t._label||" unknown promise"));!i&&r&&(i=!0,_reject(t,r))},t)}function handleOwnThenable(t,e){e._state===y?fulfill(t,e._result):e._state===b?_reject(t,e._result):subscribe(e,void 0,function(e){return _resolve(t,e)},function(e){return _reject(t,e)})}function handleMaybeThenable(t,e,n){e.constructor===t.constructor&&n===then&&e.constructor.resolve===resolve?handleOwnThenable(t,e):n===w?_reject(t,w.error):void 0===n?fulfill(t,e):isFunction(n)?handleForeignThenable(t,e,n):fulfill(t,e)}function _resolve(t,e){t===e?_reject(t,selfFulfillment()):objectOrFunction(e)?handleMaybeThenable(t,e,getThen(e)):fulfill(t,e)}function publishRejection(t){t._onerror&&t._onerror(t._result),publish(t)}function fulfill(t,e){t._state===m&&(t._result=e,t._state=y,0!==t._subscribers.length&&l(publish,t))}function _reject(t,e){t._state===m&&(t._state=b,t._result=e,l(publishRejection,t))}function subscribe(t,e,n,i){var r=t._subscribers,o=r.length;t._onerror=null,r[o]=e,r[o+y]=n,r[o+b]=i,0===o&&t._state&&l(publish,t)}function publish(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var i=void 0,r=void 0,o=t._result,a=0;a<e.length;a+=3)i=e[a],r=e[a+n],i?invokeCallback(n,i,r,o):r(o);t._subscribers.length=0}}function ErrorObject(){this.error=null}function tryCatch(t,e){try{return t(e)}catch(t){return x.error=t,x}}function invokeCallback(t,e,n,i){var r=isFunction(n),o=void 0,a=void 0,s=void 0,l=void 0;if(r){if(o=tryCatch(n,i),o===x?(l=!0,a=o.error,o=null):s=!0,e===o)return void _reject(e,cannotReturnOwn())}else o=i,s=!0;e._state!==m||(r&&s?_resolve(e,o):l?_reject(e,a):t===y?fulfill(e,o):t===b&&_reject(e,o))}function initializePromise(t,e){try{e(function(e){_resolve(t,e)},function(e){_reject(t,e)})}catch(e){_reject(t,e)}}function nextId(){return T++}function makePromise(t){t[v]=T++,t._state=void 0,t._result=void 0,t._subscribers=[]}function Enumerator(t,e){this._instanceConstructor=t,this.promise=new t(noop),this.promise[v]||makePromise(this.promise),r(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?fulfill(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&fulfill(this.promise,this._result))):_reject(this.promise,validationError())}function validationError(){return new Error("Array Methods must be provided an Array")}function all(t){return new Enumerator(this,t).promise}function race(t){var e=this;return new e(r(t)?function(n,i){for(var r=t.length,o=0;o<r;o++)e.resolve(t[o]).then(n,i)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function reject(t){var e=this,n=new e(noop);return _reject(n,t),n}function needsResolver(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function needsNew(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function Promise(t){this[v]=nextId(),this._result=this._state=void 0,this._subscribers=[],noop!==t&&("function"!=typeof t&&needsResolver(),this instanceof Promise?initializePromise(this,t):needsNew())}function polyfill(){var t=void 0;if(void 0!==i)t=i;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=Promise}var t=void 0;t=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var r=t,o=0,a=void 0,s=void 0,l=function(t,e){p[o]=t,p[o+1]=e,2===(o+=2)&&(s?s(flush):g())},u="undefined"!=typeof window?window:void 0,c=u||{},d=c.MutationObserver||c.WebKitMutationObserver,f="undefined"==typeof self&&void 0!==e&&"[object process]"==={}.toString.call(e),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,p=new Array(1e3),g=void 0;g=f?function(){return function(){return e.nextTick(flush)}}():d?function(){var t=0,e=new d(flush),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}():h?function(){var t=new MessageChannel;return t.port1.onmessage=flush,function(){return t.port2.postMessage(0)}}():void 0===u?function(){try{var t=n(39);return a=t.runOnLoop||t.runOnContext,useVertxTimer()}catch(t){return useSetTimeout()}}():useSetTimeout();var v=Math.random().toString(36).substring(16),m=void 0,y=1,b=2,w=new ErrorObject,x=new ErrorObject,T=0;return Enumerator.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===m&&n<t;n++)this._eachEntry(e[n],n)},Enumerator.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,i=n.resolve;if(i===resolve){var r=getThen(t);if(r===then&&t._state!==m)this._settledAt(t._state,e,t._result);else if("function"!=typeof r)this._remaining--,this._result[e]=t;else if(n===Promise){var o=new n(noop);handleMaybeThenable(o,t,r),this._willSettleAt(o,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(i(t),e)},Enumerator.prototype._settledAt=function(t,e,n){var i=this.promise;i._state===m&&(this._remaining--,t===b?_reject(i,n):this._result[e]=n),0===this._remaining&&fulfill(i,this._result)},Enumerator.prototype._willSettleAt=function(t,e){var n=this;subscribe(t,void 0,function(t){return n._settledAt(y,e,t)},function(t){return n._settledAt(b,e,t)})},Promise.all=all,Promise.race=race,Promise.resolve=resolve,Promise.reject=reject,Promise._setScheduler=setScheduler,Promise._setAsap=setAsap,Promise._asap=l,Promise.prototype={constructor:Promise,then:then,catch:function(t){return this.then(null,t)}},polyfill(),Promise.polyfill=polyfill,Promise.Promise=Promise,Promise})}).call(e,n(37),n(2))},function(t,e,n){(function(){t.exports={xpath:n(20),Range:n(38)}}).call(this)},function(t,e,n){(function(){var e,i;e=n(0),i={},i.NodeTypes={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},i.getFirstTextNodeNotBefore=function(t){var e;switch(t.nodeType){case i.NodeTypes.TEXT_NODE:return t;case i.NodeTypes.ELEMENT_NODE:if(null!=t.firstChild&&null!=(e=i.getFirstTextNodeNotBefore(t.firstChild)))return e}return t=t.nextSibling,null!=t?i.getFirstTextNodeNotBefore(t):null},i.getLastTextNodeUpTo=function(t){var e;switch(t.nodeType){case i.NodeTypes.TEXT_NODE:return t;case i.NodeTypes.ELEMENT_NODE:if(null!=t.lastChild&&null!=(e=i.getLastTextNodeUpTo(t.lastChild)))return e}return t=t.previousSibling,null!=t?i.getLastTextNodeUpTo(t):null},i.getTextNodes=function(t){var e;return e=function(t){var n;if(t&&t.nodeType!==i.NodeTypes.TEXT_NODE){if(n=[],t.nodeType!==i.NodeTypes.COMMENT_NODE)for(t=t.lastChild;t;)n.push(e(t)),t=t.previousSibling;return n.reverse()}return t},t.map(function(){return i.flatten(e(this))})},i.getGlobal=function(){return function(){return this}()},i.contains=function(t,e){var n;for(n=e;null!=n;){if(n===t)return!0;n=n.parentNode}return!1},i.flatten=function(t){var n;return(n=function(t){var i,r,o,a;for(r=[],o=0,a=t.length;o<a;o++)i=t[o],r=r.concat(i&&e.isArray(i)?n(i):i);return r})(t)},t.exports=i}).call(this)},function(t,e,n){(function(){var e,i,r,o,a,s,l,u,c,d;e=n(0),i=n(19),r=function(t,e,n){var i,r,a,s,l,u,c,d;null==e&&(e=document),null==n&&(n=null);try{return document.evaluate("."+t,e,n,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}catch(n){for(n,console.log("XPath evaluation failed."),console.log("Trying fallback..."),l=t.substring(1).split("/"),a=e,u=0,c=l.length;u<c;u++)s=l[u],d=s.split("["),r=d[0],i=d[1],i=null!=i?parseInt((null!=i?i.split("]"):void 0)[0]):1,a=o(a,r.toLowerCase(),i);return a}},u=function(t,n){var r;return r=t.map(function(){var t,r,o,a;for(o="",t=this;(null!=t?t.nodeType:void 0)===i.NodeTypes.ELEMENT_NODE&&t!==n;)a=t.tagName.replace(":","\\:"),r=e(t.parentNode).children(a).index(t)+1,r="["+r+"]",o="/"+t.tagName.toLowerCase()+r+o,t=t.parentNode;return o}),r.get()},c=function(t,e){var n,i,r,o;return n=function(t){var e,n;return e=s(t),n=l(t),e+"["+n+"]"},o=e,i=function(t){var e;for(e="";t!==o;){if(null==t)throw new Error("Called getPathTo on a node which was not a descendant of @rootNode. "+o);e=n(t)+"/"+e,t=t.parentNode}return e="/"+e,e=e.replace(/\/$/,"")},r=t.map(function(){return i(this)}),r.get()},o=function(t,e,n){var i,r,o,a,l;if(!t.hasChildNodes())throw new Error("XPath error: node has no children!");for(r=t.childNodes,o=0,a=0,l=r.length;a<l;a++)if(i=r[a],s(i)===e&&(o+=1)===n)return i;throw new Error("XPath error: wanted child not found.")},s=function(t){var e;switch(e=t.nodeName.toLowerCase()){case"#text":return"text()";case"#comment":return"comment()";case"#cdata-section":return"cdata-section()";default:return e}},l=function(t){var e,n;for(e=0,n=t;n;)n.nodeName===t.nodeName&&(e+=1),n=n.previousSibling;return e},a=function(t,e){var n;try{n=u(t,e)}catch(i){i,console.log("jQuery-based XPath construction failed! Falling back to manual."),n=c(t,e)}return n},d=function(t,n){var i,o,a,s;return null==n&&(n=document),e.isXMLDoc(document.documentElement)?(i=document.createNSResolver(null===document.ownerDocument?document.documentElement:document.ownerDocument.documentElement),a=r(t,n,i),a||(t=function(){var e,n,i,r;for(i=t.split("/"),r=[],e=0,n=i.length;e<n;e++)s=i[e],s&&-1===s.indexOf(":")?r.push(s.replace(/^([a-z]+)/,"xhtml:$1")):r.push(s);return r}().join("/"),o=document.lookupNamespaceURI(null),i=function(t){return"xhtml"===t?o:document.documentElement.getAttribute("xmlns:"+t)},a=r(t,n,i)),a):r(t,n)},t.exports={fromNode:a,toNode:d}}).call(this)},function(t,e,n){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var i=n(0),r=_interopRequireDefault(i),o=n(22),a=_interopRequireDefault(o);n(34),n(33),n(31),n(14),n(15);var s=n(30);(0,r.default)(document).ready(function(){if((0,r.default)("article").length){var t=new a.default.App;t.include(a.default.ui.main,{element:document.querySelector("article")});var e={permits:function(){return!0}};t.registry.registerUtility(e,"authorizationPolicy");var n=JSON.parse((0,r.default)("#annotationroutes").html());t.include(a.default.storage.http,r.default.extend({},n,{onError:function(t,e){if(!Object.prototype.hasOwnProperty.call(e,"responseJSON"))return void a.default.notification.banner("An error occurred","error");r.default.each(e.responseJSON.children,function(t,e){e.errors&&r.default.each(e.errors,function(t,e){a.default.notification.banner(e,"error")})})}})),t.start().then(function(){t.annotations.load({entry:n.entryId})}),(0,r.default)(window).scroll(function(){var t=(0,r.default)(window).scrollTop(),e=(0,r.default)(document).height(),i=t/e,o=Math.round(100*i)/100;(0,s.savePercent)(n.entryId,o)}),(0,s.retrievePercent)(n.entryId),(0,r.default)(window).resize(function(){(0,s.retrievePercent)(n.entryId)})}})},function(t,e,n){"use strict";(function(t){n(35)(n(32));var i=n(23),r=n(1);e.App=i.App,e.authz=n(5),e.identity=n(6),e.notification=n(7),e.storage=n(8),e.ui=n(25),e.util=r,e.ext={};var o=t.wgxpath;void 0!==o&&null!==o&&"function"==typeof o.install&&o.install();var a=t.annotator;e.noConflict=function(){return t.annotator=a,this}}).call(e,n(2))},function(t,e,n){"use strict";function App(){this.modules=[],this.registry=new l.Registry,this._started=!1,this.registry.registerUtility(s.defaultNotifier,"notifier"),this.include(o.acl),this.include(a.simple),this.include(u.noop)}var i=n(16),r=n(17).Promise,o=n(5),a=n(6),s=n(7),l=n(24),u=n(8);App.prototype.include=function(t,e){var n=t(e);return"function"==typeof n.configure&&n.configure(this.registry),this.modules.push(n),this},App.prototype.start=function(){if(!this._started){this._started=!0;var t=this,e=this.registry;return this.authz=e.getUtility("authorizationPolicy"),this.ident=e.getUtility("identityPolicy"),this.notify=e.getUtility("notifier"),this.annotations=new u.StorageAdapter(e.getUtility("storage"),function(){return t.runHook.apply(t,arguments)}),this.runHook("start",[this])}},App.prototype.destroy=function(){return this.runHook("destroy")},App.prototype.runHook=function(t,e){for(var n=[],i=0,o=this.modules.length;i<o;i++){var a=this.modules[i];"function"==typeof a[t]&&n.push(a[t].apply(a,e))}return r.all(n)},App.extend=i,e.App=App},function(t,e,n){"use strict";function Registry(){this.utilities={}}function LookupError(t){this.name="LookupError",this.message='No utility registered for interface "'+t+'".'}Registry.prototype.registerUtility=function(t,e){this.utilities[e]=t},Registry.prototype.getUtility=function(t){var e=this.queryUtility(t);if(null===e)throw new LookupError(t);return e},Registry.prototype.queryUtility=function(t){var e=this.utilities[t];return void 0===e||null===e?null:e},LookupError.prototype=Object.create(Error.prototype),LookupError.prototype.constructor=LookupError,e.LookupError=LookupError,e.Registry=Registry},function(t,e,n){e.main=n(27).main,e.adder=n(9),e.editor=n(10),e.filter=n(26),e.highlighter=n(11),e.markdown=n(28),e.tags=n(29),e.textselector=n(12),e.viewer=n(13),e.widget=n(3)},function(t,e,n){"use strict";var i=n(1),r=i.$,o=i.gettext,a="annotator-filter",s=e.Filter=function Filter(t){this.options=r.extend(!0,{},Filter.options,t),this.classes=r.extend(!0,{},Filter.classes),this.element=r(Filter.html.element).appendTo(this.options.appendTo),this.filter=r(Filter.html.filter),this.filters=[],this.current=0;for(var e=0,n=this.options.filters.length;e<n;e++){var i=this.options.filters[e];this.addFilter(i)}this.updateHighlights();var s=".annotator-filter-property input",l=this;this.element.on("focus."+a,s,function(t){l._onFilterFocus(t)}).on("blur."+a,s,function(t){l._onFilterBlur(t)}).on("keyup."+a,s,function(t){l._onFilterKeyup(t)}).on("click."+a,".annotator-filter-previous",function(t){l._onPreviousClick(t)}).on("click."+a,".annotator-filter-next",function(t){l._onNextClick(t)}).on("click."+a,".annotator-filter-clear",function(t){l._onClearClick(t)}),this._insertSpacer(),this.options.addAnnotationFilter&&this.addFilter({label:o("Annotation"),property:"text"})};s.prototype.destroy=function(){var t=r("html"),e=parseInt(t.css("padding-top"),10)||0;t.css("padding-top",e-this.element.outerHeight()),this.element.off("."+a),this.element.remove()},s.prototype._insertSpacer=function(){var t=r("html"),e=parseInt(t.css("padding-top"),10)||0;return t.css("padding-top",e+this.element.outerHeight()),this},s.prototype.addFilter=function(t){for(var e=r.extend({label:"",property:"",isFiltered:this.options.isFiltered},t),n=!1,i=0,a=this.filters.length;i<a;i++){if(this.filters[i].property===e.property){n=!0;break}}return n||(e.id="annotator-filter-"+e.property,e.annotations=[],e.element=this.filter.clone().appendTo(this.element),e.element.find("label").html(e.label).attr("for",e.id),e.element.find("input").attr({id:e.id,placeholder:o("Filter by ")+e.label+"…"}),e.element.find("button").hide(),e.element.data("filter",e),this.filters.push(e)),this},s.prototype.updateFilter=function(t){t.annotations=[],this.updateHighlights(),this.resetHighlights();var e=r.trim(t.element.find("input").val());if(e){var n=this.highlights.map(function(){return r(this).data("annotation")});n=r.makeArray(n);for(var i=0,o=n.length;i<o;i++){var a=n[i],s=a[t.property];t.isFiltered(e,s)&&t.annotations.push(a)}this.filterHighlights()}},s.prototype.updateHighlights=function(){this.highlights=r(this.options.filterElement).find(".annotator-hl:visible"),this.filtered=this.highlights.not(this.classes.hl.hide)},s.prototype.filterHighlights=function(){var t=r.grep(this.filters,function(t){return Boolean(t.annotations.length)}),e=[];if(t.length>0&&(e=t[0].annotations),t.length>1){var n=[];r.each(t,function(){r.merge(n,this.annotations)});var i=[];e=[],r.each(n,function(){-1===r.inArray(this,i)?i.push(this):e.push(this)})}for(var o=this.highlights,a=0,s=e.length;a<s;a++)o=o.not(e[a]._local.highlights);return o.addClass(this.classes.hl.hide),this.filtered=this.highlights.not(this.classes.hl.hide),this},s.prototype.resetHighlights=function(){return this.highlights.removeClass(this.classes.hl.hide),this.filtered=this.highlights,this},s.prototype._onFilterFocus=function(t){var e=r(t.target);e.parent().addClass(this.classes.active),e.next("button").show()},s.prototype._onFilterBlur=function(t){if(!t.target.value){var e=r(t.target);e.parent().removeClass(this.classes.active),e.next("button").hide()}},s.prototype._onFilterKeyup=function(t){var e=r(t.target).parent().data("filter");e&&this.updateFilter(e)},s.prototype._findNextHighlight=function(t){if(0===this.highlights.length)return this;var e=-1,n=0,i="gt";t&&(e=0,n=-1,i="lt");var r=this.highlights.not("."+this.classes.hl.hide),o=r.filter("."+this.classes.hl.active);0===o.length&&(o=r.eq(e));var a=o.data("annotation"),s=r.index(o[0]),l=r.filter(":"+i+"("+s+")").not(a._local.highlights).eq(n);0===l.length&&(l=r.eq(n)),this._scrollToHighlight(l.data("annotation")._local.highlights)},s.prototype._onNextClick=function(){this._findNextHighlight()},s.prototype._onPreviousClick=function(){this._findNextHighlight(!0)},s.prototype._scrollToHighlight=function(t){t=r(t),this.highlights.removeClass(this.classes.hl.active),t.addClass(this.classes.hl.active),r("html, body").animate({scrollTop:t.offset().top-(this.element.height()+20)},150)},s.prototype._onClearClick=function(t){r(t.target).prev("input").val("").keyup().blur()},s.classes={active:"annotator-filter-active",hl:{hide:"annotator-hl-filtered",active:"annotator-hl-active"}},s.html={element:['<div class="annotator-filter">'," <strong>"+o("Navigate:")+"</strong>",' <span class="annotator-filter-navigation">',' <button type="button"',' class="annotator-filter-previous">'+o("Previous")+"</button>",' <button type="button"',' class="annotator-filter-next">'+o("Next")+"</button>"," </span>"," <strong>"+o("Filter by:")+"</strong>","</div>"].join("\n"),filter:['<span class="annotator-filter-property">'," <label></label>"," <input/>",' <button type="button"',' class="annotator-filter-clear">'+o("Clear")+"</button>","</span>"].join("\n")},s.options={appendTo:"body",filterElement:"body",filters:[],addAnnotationFilter:!0,isFiltered:function(t,e){if(!t||!e)return!1;for(var n=t.split(/\s+/),i=0,r=n.length;i<r;i++)if(-1===e.indexOf(n[i]))return!1;return!0}},e.standalone=function(t){var n=new e.Filter(t);return{destroy:function(){n.destroy()},annotationsLoaded:function(){n.updateHighlights()},annotationCreated:function(){n.updateHighlights()},annotationUpdated:function(){n.updateHighlights()},annotationDeleted:function(){n.updateHighlights()}}}},function(t,e,n){"use strict";(function(t){function trim(t){return"function"==typeof String.prototype.trim?String.prototype.trim.call(t):t.replace(/^[\s\xA0]+|[\s\xA0]+$/g,"")}function annotationFactory(t,e){return function(n){for(var i=[],r=[],o=0,a=n.length;o<a;o++){var s=n[o];i.push(trim(s.text())),r.push(s.serialize(t,e))}return{quote:i.join(" / "),ranges:r}}}function maxZIndex(t){for(var e=-1,n=0,r=t.length;n<r;n++){var o=i.$(t[n]);if("static"!==o.css("position")){var a=parseFloat(o.css("z-index"));a>e&&(e=a)}}return e}function injectDynamicStyle(){i.$("#annotator-dynamic-style").remove();var e=maxZIndex(i.$(t.document.body).find("*:not(annotator-adder):not(annotator-outer):not(annotator-notice):not(annotator-filter)").get());e=Math.max(e,1e3);var n=[".annotator-adder, .annotator-outer, .annotator-notice {"," z-index: "+(e+20)+";","}",".annotator-filter {"," z-index: "+(e+10)+";","}"].join("\n");i.$("<style>"+n+"</style>").attr("id","annotator-dynamic-style").attr("type","text/css").appendTo("head")}function removeDynamicStyle(){i.$("#annotator-dynamic-style").remove()}function addPermissionsCheckboxes(t,e,n){function createLoadCallback(t){return function(r,o){r=i.$(r).show();var a=e.who(),s=r.find("input");void 0!==a&&null!==a||r.hide(),n.permits("admin",o,a)||r.hide(),n.permits(t,o,null)?s.attr("checked","checked"):s.removeAttr("checked")}}function createSubmitCallback(t){return function(r,o){var a=e.who();void 0!==a&&null!==a&&(o.permissions||(o.permissions={}),i.$(r).find("input").is(":checked")?delete o.permissions[t]:o.permissions[t]=[n.authorizedUserId(a)])}}t.addField({type:"checkbox",label:u("Allow anyone to <strong>view</strong> this annotation"),load:createLoadCallback("read"),submit:createSubmitCallback("read")}),t.addField({type:"checkbox",label:u("Allow anyone to <strong>edit</strong> this annotation"),load:createLoadCallback("update"),submit:createSubmitCallback("update")})}function main(e){function start(t){var c=t.registry.getUtility("identityPolicy"),d=t.registry.getUtility("authorizationPolicy");u.adder=new r.Adder({onCreate:function(e){t.annotations.create(e)}}),u.adder.attach(),u.editor=new o.Editor({extensions:e.editorExtensions}),u.editor.attach(),addPermissionsCheckboxes(u.editor,c,d),u.highlighter=new a.Highlighter(e.element),u.textselector=new s.TextSelector(e.element,{onSelection:function(t,e){if(t.length>0){var r=n(t);u.interactionPoint=i.mousePosition(e),u.adder.load(r,u.interactionPoint)}else u.adder.hide()}}),u.viewer=new l.Viewer({onEdit:function(e){u.interactionPoint=i.$(u.viewer.element).css(["top","left"]),t.annotations.update(e)},onDelete:function(e){t.annotations.delete(e)},permitEdit:function(t){return d.permits("update",t,c.who())},permitDelete:function(t){return d.permits("delete",t,c.who())},autoViewHighlights:e.element,extensions:e.viewerExtensions}),u.viewer.attach(),injectDynamicStyle()}void 0!==e&&null!==e||(e={}),e.element=e.element||t.document.body,e.editorExtensions=e.editorExtensions||[],e.viewerExtensions=e.viewerExtensions||[];var n=annotationFactory(e.element,".annotator-hl"),u={interactionPoint:null};return{start:start,destroy:function(){u.adder.destroy(),u.editor.destroy(),u.highlighter.destroy(),u.textselector.destroy(),u.viewer.destroy(),removeDynamicStyle()},annotationsLoaded:function(t){u.highlighter.drawAll(t)},annotationCreated:function(t){u.highlighter.draw(t)},annotationDeleted:function(t){u.highlighter.undraw(t)},annotationUpdated:function(t){u.highlighter.redraw(t)},beforeAnnotationCreated:function(t){return u.editor.load(t,u.interactionPoint)},beforeAnnotationUpdated:function(t){return u.editor.load(t,u.interactionPoint)}}}var i=n(1),r=n(9),o=n(10),a=n(11),s=n(12),l=n(13),u=i.gettext;e.main=main}).call(e,n(2))},function(t,e,n){"use strict";(function(t){var i=n(1),r=i.gettext,o=e.render=function(e){var n=i.escapeHtml;return t.showdown&&"function"==typeof t.showdown.Converter&&(n=(new t.showdown.Converter).makeHtml),e.text?n(e.text):"<i>"+r("No comment")+"</i>"};e.viewerExtension=function(e){t.showdown&&"function"==typeof t.showdown.Converter||console.warn(r("To use the Markdown plugin, you must include Showdown into the page first.")),e.setRenderer(o)}}).call(e,n(2))},function(t,e,n){"use strict";function stringifyTags(t){return t.join(" ")}function parseTags(t){t=r.trim(t);var e=[];return t&&(e=t.split(/\s+/)),e}var i=n(1),r=i.$,o=i.gettext;e.viewerExtension=function(t){function updateViewer(t,e){t=r(t),e.tags&&r.isArray(e.tags)&&e.tags.length?t.addClass("annotator-tags").html(function(){return r.map(e.tags,function(t){return'<span class="annotator-tag">'+i.escapeHtml(t)+"</span>"}).join(" ")}):t.remove()}t.addField({load:updateViewer})},e.editorExtension=function(t){function updateField(t,e){var i="";e.tags&&(i=stringifyTags(e.tags)),n.val(i)}function setAnnotationTags(t,e){e.tags=parseTags(n.val())}var e=null,n=null;e=t.addField({label:o("Add some tags here")+"…",load:updateField,submit:setAnnotationTags}),n=r(e).find(":input")}},function(t,e,n){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function supportsLocalStorage(){try{return"localStorage"in window&&null!==window.localStorage}catch(t){return!1}}function savePercent(t,e){return!!supportsLocalStorage()&&(localStorage["wallabag.article."+t+".percent"]=e,!0)}function retrievePercent(t){if(!supportsLocalStorage())return!1;var e=(0,r.default)(document).height(),n=localStorage["wallabag.article."+t+".percent"],i=e*n;return(0,r.default)("html,body").animate({scrollTop:i},"fast"),!0}Object.defineProperty(e,"__esModule",{value:!0}),e.retrievePercent=e.savePercent=void 0;var i=n(0),r=_interopRequireDefault(i);n(15),n(14);var o=n(36);_interopRequireDefault(o);e.savePercent=savePercent,e.retrievePercent=retrievePercent},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){var n={};t.exports=function(t,e){if(!n[t]){n[t]=!0;var i=document.createElement("style");i.setAttribute("type","text/css"),"textContent"in i?i.textContent=t:i.styleSheet.cssText=t;var r=document.getElementsByTagName("head")[0];e&&e.prepend?r.insertBefore(i,r.childNodes[0]):r.appendChild(i)}}},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";t.exports=n(3)},function(t,e){"use strict";!function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(void 0!==i&&null!==i){i=Object(i);for(var r=Object.keys(Object(i)),o=0,a=r.length;o<a;o++){var s=r[o],l=Object.getOwnPropertyDescriptor(i,s);void 0!==l&&l.enumerable&&(e[s]=i[s])}}}return e}})}()},function(t,e){"use strict";t.exports=function(){var t={};return t.utf16to8=function(t){var e,n,i,r;for(e="",i=t.length,n=0;n<i;n++)r=t.charCodeAt(n),r>=1&&r<=127?e+=t.charAt(n):r>2047?(e+=String.fromCharCode(224|r>>12&15),e+=String.fromCharCode(128|r>>6&63),e+=String.fromCharCode(128|r>>0&63)):(e+=String.fromCharCode(192|r>>6&31),e+=String.fromCharCode(128|r>>0&63));return e},t.utf8to16=function(t){var e,n,i,r,o,a;for(e="",i=t.length,n=0;n<i;)switch((r=t.charCodeAt(n++))>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:e+=t.charAt(n-1);break;case 12:case 13:o=t.charCodeAt(n++),e+=String.fromCharCode((31&r)<<6|63&o);break;case 14:o=t.charCodeAt(n++),a=t.charCodeAt(n++),e+=String.fromCharCode((15&r)<<12|(63&o)<<6|(63&a)<<0)}return e},t}()},function(e,n,i){"use strict";i(1),i(4);var r=i(2),o=function(){function t(t){var e=new QRCode(t.typeNumber,t.correctLevel);e.addData(t.text),e.make();var n=document.createElement("canvas");n.width=t.width,n.height=t.height;var i=n.getContext("2d"),r=(t.width-2*t.padding)/e.getModuleCount(),o=(t.height-2*t.padding)/e.getModuleCount();if(t.reverse){var a="rgba(0, 0, 0, 0)";i.fillStyle=a,t.foreground=a}else i.fillStyle=t.background;i.fillRect(0,0,n.width,n.height);for(var s=0;s<e.getModuleCount();s++)for(var l=0;l<e.getModuleCount();l++){i.fillStyle=e.isDark(s,l)?t.foreground:t.background;var u=Math.ceil((l+1)*r)-Math.floor(l*r),c=Math.ceil((s+1)*r)-Math.floor(s*r);i.fillRect(Math.round(l*r)+t.padding,Math.round(s*o)+t.padding,u,c)}return n}var e={};return e.getQrBase64=function(e,n){"string"!=typeof e&&(e=""),"string"==typeof n?n={text:n}:"object"!=typeof n&&(n={}),n=Object.assign({padding:10,width:256,height:256,typeNumber:-1,correctLevel:QRErrorCorrectLevel.H,reverse:!1,background:"#ffffff",foreground:"#000000"},n);try{n.text=r.utf16to8(e)}catch(t){n.text=""+t}return t(n).toDataURL()},e.QRErrorCorrectLevel=QRErrorCorrectLevel,e}();!window.jrQrcode&&(window.jrQrcode=o),e.exports=o},function(t,e){function r(t){this.mode=s.MODE_8BIT_BYTE,this.data=t}function o(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}function n(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var n=0;n<t.length&&0==t[n];)n++;this.num=new Array(t.length-n+e);for(var i=0;i<t.length-n;i++)this.num[i]=t[i+n]}function i(t,e){this.totalCount=t,this.dataCount=e}function a(){this.buffer=new Array,this.length=0}r.prototype={getLength:function(t){return this.data.length},write:function(t){for(var e=0;e<this.data.length;e++)t.put(this.data.charCodeAt(e),8)}},o.prototype={addData:function(t){var e=new r(t);this.dataList.push(e),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var t=1;for(t=1;t<40;t++){for(var e=i.getRSBlocks(t,this.errorCorrectLevel),n=new a,r=0,o=0;o<e.length;o++)r+=e[o].dataCount;for(var o=0;o<this.dataList.length;o++){var s=this.dataList[o];n.put(s.mode,4),n.put(s.getLength(),c.getLengthInBits(s.mode,t)),s.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=t}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=o.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(this.modules[t+n][e+i]=0<=n&&n<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=c.getLostPoint(this);(0==n||t>i)&&(t=i,e=n)}return e},createMovieClip:function(t,e,n){var i=t.createEmptyMovieClip(e,n);this.make();for(var r=0;r<this.modules.length;r++)for(var o=1*r,a=0;a<this.modules[r].length;a++){var s=1*a,l=this.modules[r][a];l&&(i.beginFill(0,100),i.moveTo(s,o),i.lineTo(s+1,o),i.lineTo(s+1,o+1),i.lineTo(s,o+1),i.endFill())}return i},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=c.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var i=t[e],r=t[n];if(null==this.modules[i][r])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[i+o][r+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=c.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(var n=0;n<18;n++){var i=!t&&1==(e>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,i=c.getBCHTypeInfo(n),r=0;r<15;r++){var o=!t&&1==(i>>r&1);r<6?this.modules[r][8]=o:r<8?this.modules[r+1][8]=o:this.modules[this.moduleCount-15+r][8]=o}for(var r=0;r<15;r++){var o=!t&&1==(i>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=o:r<9?this.modules[8][15-r-1+1]=o:this.modules[8][15-r-1]=o}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,i=this.moduleCount-1,r=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[i][a-s]){var l=!1;o<t.length&&(l=1==(t[o]>>>r&1));var u=c.getMask(e,i,a-s);u&&(l=!l),this.modules[i][a-s]=l,-1==--r&&(o++,r=7)}if((i+=n)<0||this.moduleCount<=i){i-=n,n=-n;break}}}},o.PAD0=236,o.PAD1=17,o.createData=function(t,e,n){for(var r=i.getRSBlocks(t,e),s=new a,l=0;l<n.length;l++){var u=n[l];s.put(u.mode,4),s.put(u.getLength(),c.getLengthInBits(u.mode,t)),u.write(s)}for(var d=0,l=0;l<r.length;l++)d+=r[l].dataCount;if(s.getLengthInBits()>8*d)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*d+")");for(s.getLengthInBits()+4<=8*d&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*d)&&(s.put(o.PAD0,8),!(s.getLengthInBits()>=8*d));)s.put(o.PAD1,8);return o.createBytes(s,r)},o.createBytes=function(t,e){for(var i=0,r=0,o=0,a=new Array(e.length),s=new Array(e.length),l=0;l<e.length;l++){var u=e[l].dataCount,d=e[l].totalCount-u;r=Math.max(r,u),o=Math.max(o,d),a[l]=new Array(u);for(var f=0;f<a[l].length;f++)a[l][f]=255&t.buffer[f+i];i+=u;var h=c.getErrorCorrectPolynomial(d),p=new n(a[l],h.getLength()-1),g=p.mod(h);s[l]=new Array(h.getLength()-1);for(var f=0;f<s[l].length;f++){var v=f+g.getLength()-s[l].length;s[l][f]=v>=0?g.get(v):0}}for(var m=0,f=0;f<e.length;f++)m+=e[f].totalCount;for(var y=new Array(m),b=0,f=0;f<r;f++)for(var l=0;l<e.length;l++)f<a[l].length&&(y[b++]=a[l][f]);for(var f=0;f<o;f++)for(var l=0;l<e.length;l++)f<s[l].length&&(y[b++]=s[l][f]);return y};for(var s={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},l={L:1,M:0,Q:3,H:2},u={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},c={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;c.getBCHDigit(e)-c.getBCHDigit(c.G15)>=0;)e^=c.G15<<c.getBCHDigit(e)-c.getBCHDigit(c.G15);return(t<<10|e)^c.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;c.getBCHDigit(e)-c.getBCHDigit(c.G18)>=0;)e^=c.G18<<c.getBCHDigit(e)-c.getBCHDigit(c.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return c.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case u.PATTERN000:return(e+n)%2==0;case u.PATTERN001:return e%2==0;case u.PATTERN010:return n%3==0;case u.PATTERN011:return(e+n)%3==0;case u.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case u.PATTERN101:return e*n%2+e*n%3==0;case u.PATTERN110:return(e*n%2+e*n%3)%2==0;case u.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new n([1],0),i=0;i<t;i++)e=e.multiply(new n([1,d.gexp(i)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case s.MODE_NUMBER:return 10;case s.MODE_ALPHA_NUM:return 9;case s.MODE_8BIT_BYTE:case s.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case s.MODE_NUMBER:return 12;case s.MODE_ALPHA_NUM:return 11;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case s.MODE_NUMBER:return 14;case s.MODE_ALPHA_NUM:return 13;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,i=0;i<e;i++)for(var r=0;r<e;r++){for(var o=0,a=t.isDark(i,r),s=-1;s<=1;s++)if(!(i+s<0||e<=i+s))for(var l=-1;l<=1;l++)r+l<0||e<=r+l||0==s&&0==l||a==t.isDark(i+s,r+l)&&o++;o>5&&(n+=3+o-5)}for(var i=0;i<e-1;i++)for(var r=0;r<e-1;r++){var u=0;t.isDark(i,r)&&u++,t.isDark(i+1,r)&&u++,t.isDark(i,r+1)&&u++,t.isDark(i+1,r+1)&&u++,0!=u&&4!=u||(n+=3)}for(var i=0;i<e;i++)for(var r=0;r<e-6;r++)t.isDark(i,r)&&!t.isDark(i,r+1)&&t.isDark(i,r+2)&&t.isDark(i,r+3)&&t.isDark(i,r+4)&&!t.isDark(i,r+5)&&t.isDark(i,r+6)&&(n+=40);for(var r=0;r<e;r++)for(var i=0;i<e-6;i++)t.isDark(i,r)&&!t.isDark(i+1,r)&&t.isDark(i+2,r)&&t.isDark(i+3,r)&&t.isDark(i+4,r)&&!t.isDark(i+5,r)&&t.isDark(i+6,r)&&(n+=40);for(var c=0,r=0;r<e;r++)for(var i=0;i<e;i++)t.isDark(i,r)&&c++;return n+=Math.abs(100*c/e/e-50)/5*10}},d={glog:function(t){if(t<1)throw new Error("glog("+t+")");return d.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return d.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},f=0;f<8;f++)d.EXP_TABLE[f]=1<<f;for(var f=8;f<256;f++)d.EXP_TABLE[f]=d.EXP_TABLE[f-4]^d.EXP_TABLE[f-5]^d.EXP_TABLE[f-6]^d.EXP_TABLE[f-8];for(var f=0;f<255;f++)d.LOG_TABLE[d.EXP_TABLE[f]]=f;n.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),i=0;i<this.getLength();i++)for(var r=0;r<t.getLength();r++)e[i+r]^=d.gexp(d.glog(this.get(i))+d.glog(t.get(r)));return new n(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=d.glog(this.get(0))-d.glog(t.get(0)),i=new Array(this.getLength()),r=0;r<this.getLength();r++)i[r]=this.get(r);for(var r=0;r<t.getLength();r++)i[r]^=d.gexp(d.glog(t.get(r))+e);return new n(i,0).mod(t)}},i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(t,e){var n=i.getRsBlockTable(t,e);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var r=n.length/3,o=new Array,a=0;a<r;a++)for(var s=n[3*a+0],l=n[3*a+1],u=n[3*a+2],c=0;c<s;c++)o.push(new i(l,u));return o},i.getRsBlockTable=function(t,e){switch(e){case l.L:return i.RS_BLOCK_TABLE[4*(t-1)+0];case l.M:return i.RS_BLOCK_TABLE[4*(t-1)+1];case l.Q:return i.RS_BLOCK_TABLE[4*(t-1)+2];case l.H:return i.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},a.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},window.QRCode=o,window.QRErrorCorrectLevel=l;try{t.exports={QRCode:o,QRErrorCorrectLevel:l}}catch(t){}}])})},function(t,e){function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(t){if(n===setTimeout)return setTimeout(t,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function runClearTimeout(t){if(i===clearTimeout)return clearTimeout(t);if((i===defaultClearTimeout||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}function cleanUpNextTick(){s&&o&&(s=!1,o.length?a=o.concat(a):l=-1,a.length&&drainQueue())}function drainQueue(){if(!s){var t=runTimeout(cleanUpNextTick);s=!0;for(var e=a.length;e;){for(o=a,a=[];++l<e;)o&&o[l].run();l=-1,e=a.length}o=null,s=!1,runClearTimeout(t)}}function Item(t,e){this.fun=t,this.array=e}function noop(){}var n,i,r=t.exports={};!function(){try{n="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(t){n=defaultSetTimout}try{i="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(t){i=defaultClearTimeout}}();var o,a=[],s=!1,l=-1;r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];a.push(new Item(t,e)),1!==a.length||s||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=noop,r.addListener=noop,r.once=noop,r.off=noop,r.removeListener=noop,r.removeAllListeners=noop,r.emit=noop,r.prependListener=noop,r.prependOnceListener=noop,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(t,e,n){(function(){var e,i,r,o,a={}.hasOwnProperty,s=function(t,e){function ctor(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return ctor.prototype=e.prototype,t.prototype=new ctor,t.__super__=e.prototype,t};o=n(20),r=n(19),e=n(0),i={},i.sniff=function(t){return null!=t.commonAncestorContainer?new i.BrowserRange(t):"string"==typeof t.start?new i.SerializedRange(t):t.start&&"object"==typeof t.start?new i.NormalizedRange(t):(console.error("Could not sniff range type"),!1)},i.RangeError=function(t){function RangeError(t,e,n){this.type=t,this.message=e,this.parent=null!=n?n:null,RangeError.__super__.constructor.call(this,this.message)}return s(RangeError,t),RangeError}(Error),i.BrowserRange=function(){function BrowserRange(t){this.commonAncestorContainer=t.commonAncestorContainer,this.startContainer=t.startContainer,this.startOffset=t.startOffset,this.endContainer=t.endContainer,this.endOffset=t.endOffset}return BrowserRange.prototype.normalize=function(t){var e,n;if(this.tainted)return console.error("You may only call normalize() once on a BrowserRange!"),!1;for(this.tainted=!0,n={},this._normalizeStart(n),this._normalizeEnd(n),e={},n.startOffset>0?n.start.nodeValue.length>n.startOffset?e.start=n.start.splitText(n.startOffset):e.start=n.start.nextSibling:e.start=n.start,n.start===n.end?(e.start.nodeValue.length>n.endOffset-n.startOffset&&e.start.splitText(n.endOffset-n.startOffset),e.end=e.start):(n.end.nodeValue.length>n.endOffset&&n.end.splitText(n.endOffset),e.end=n.end),e.commonAncestor=this.commonAncestorContainer;e.commonAncestor.nodeType!==r.NodeTypes.ELEMENT_NODE;)e.commonAncestor=e.commonAncestor.parentNode;return new i.NormalizedRange(e)},BrowserRange.prototype._normalizeStart=function(t){return this.startContainer.nodeType===r.NodeTypes.ELEMENT_NODE?(t.start=r.getFirstTextNodeNotBefore(this.startContainer.childNodes[this.startOffset]),t.startOffset=0):(t.start=this.startContainer,t.startOffset=this.startOffset)},BrowserRange.prototype._normalizeEnd=function(t){var e,n;if(this.endContainer.nodeType!==r.NodeTypes.ELEMENT_NODE)return t.end=this.endContainer,t.endOffset=this.endOffset;if(null!=(n=this.endContainer.childNodes[this.endOffset])){for(e=n;null!=e&&e.nodeType!==r.NodeTypes.TEXT_NODE;)e=e.firstChild;null!=e&&(t.end=e,t.endOffset=0)}return null==t.end?(n=this.endOffset?this.endContainer.childNodes[this.endOffset-1]:this.endContainer.previousSibling,t.end=r.getLastTextNodeUpTo(n),t.endOffset=t.end.nodeValue.length):void 0},BrowserRange.prototype.serialize=function(t,e){return this.normalize(t).serialize(t,e)},BrowserRange}(),i.NormalizedRange=function(){function NormalizedRange(t){this.commonAncestor=t.commonAncestor,this.start=t.start,this.end=t.end}return NormalizedRange.prototype.normalize=function(t){return this},NormalizedRange.prototype.limit=function(t){var n,i,r,o,a,s;if(n=e.grep(this.textNodes(),function(n){return n.parentNode===t||e.contains(t,n.parentNode)}),!n.length)return null;for(this.start=n[0],this.end=n[n.length-1],r=e(this.start).parents(),s=e(this.end).parents(),o=0,a=s.length;o<a;o++)if(i=s[o],-1!==r.index(i)){this.commonAncestor=i;break}return this},NormalizedRange.prototype.serialize=function(t,n){var a,s,l;return s=function(i,a){var s,l,u,c,d,f,h,p;for(c=n?e(i).parents(":not("+n+")").eq(0):e(i).parent(),d=o.fromNode(c,t)[0],f=r.getTextNodes(c),l=f.slice(0,f.index(i)),u=0,h=0,p=l.length;h<p;h++)s=l[h],u+=s.nodeValue.length;return a?[d,u+i.nodeValue.length]:[d,u]},l=s(this.start),a=s(this.end,!0),new i.SerializedRange({start:l[0],end:a[0],startOffset:l[1],endOffset:a[1]})},NormalizedRange.prototype.text=function(){var t;return function(){var e,n,i,r;for(i=this.textNodes(),r=[],e=0,n=i.length;e<n;e++)t=i[e],r.push(t.nodeValue);return r}.call(this).join("")},NormalizedRange.prototype.textNodes=function(){var t,n,i,o;return i=r.getTextNodes(e(this.commonAncestor)),o=[i.index(this.start),i.index(this.end)],n=o[0],t=o[1],e.makeArray(i.slice(n,+t+1||9e9))},NormalizedRange}(),i.SerializedRange=function(){function SerializedRange(t){this.start=t.start,this.startOffset=t.startOffset,this.end=t.end,this.endOffset=t.endOffset}return SerializedRange.prototype.normalize=function(t){var n,a,s,l,u,c,d,f,h,p,g,v,m,y;for(c={},m=["start","end"],h=0,g=m.length;h<g;h++){u=m[h];try{l=o.toNode(this[u],t)}catch(t){throw a=t,new i.RangeError(u,"Error while finding "+u+" node: "+this[u]+": "+a,a)}if(!l)throw new i.RangeError(u,"Couldn't find "+u+" node: "+this[u]);for(s=0,d=this[u+"Offset"],"end"===u&&(d-=1),y=r.getTextNodes(e(l)),p=0,v=y.length;p<v;p++){if(f=y[p],s+f.nodeValue.length>d){c[u+"Container"]=f,c[u+"Offset"]=this[u+"Offset"]-s;break}s+=f.nodeValue.length}if(null==c[u+"Offset"])throw new i.RangeError(u+"offset","Couldn't find offset "+this[u+"Offset"]+" in element "+this[u])}return n=null!=document.compareDocumentPosition?function(t,e){return t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY}:function(t,e){return t.contains(e)},e(c.startContainer).parents().each(function(){var t;if(t=c.endContainer.nodeType===r.NodeTypes.TEXT_NODE?c.endContainer.parentNode:c.endContainer,n(this,t))return c.commonAncestorContainer=this,!1}),new i.BrowserRange(c).normalize(t)},SerializedRange.prototype.serialize=function(t,e){return this.normalize(t).serialize(t,e)},SerializedRange.prototype.toObject=function(){return{start:this.start,startOffset:this.startOffset,end:this.end,endOffset:this.endOffset}},SerializedRange}(),t.exports=i}).call(this)},function(t,e){},,,,function(t,e,n){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var i=n(4),r=_interopRequireDefault(i),o=n(0),a=_interopRequireDefault(o);(0,a.default)(document).ready(function(){(0,a.default)("#article").length>0&&(r.default.bind("o",function(){(0,a.default)("ul.side-nav a.original i")[0].click()}),r.default.bind("f",function(){(0,a.default)("ul.side-nav a.favorite i")[0].click()}),r.default.bind("a",function(){(0,a.default)("ul.side-nav a.markasread i")[0].click()}),r.default.bind("del",function(){(0,a.default)("ul.side-nav a.delete i")[0].click()}))})},function(t,e,n){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function toggleFocus(t){t&&(0,a.default)(t).toggleClass("z-depth-4")}var i=n(4),r=_interopRequireDefault(i),o=n(0),a=_interopRequireDefault(o);(0,a.default)(document).ready(function(){var t=(0,a.default)("#content").find(".card"),e=t.length,n=0;"#prev"===window.location.hash&&(n=e-1);var i=t[n],o=(0,a.default)(".pagination");(0,a.default)("#content > div.quickstart").length>0||(0,a.default)("#username").length>0||(0,a.default)("#fos_user_registration_form_username").length>0||(0,a.default)("#username").length>0||(0,a.default)("#fos_user_registration_form_username").length>0||(toggleFocus(i),r.default.bind("g n",function(){return(0,a.default)("#nav-btn-add").trigger("click"),!1}),r.default.bind("s",function(){return(0,a.default)("#nav-btn-search").trigger("click"),!1}),r.default.bind("esc",function(){(0,a.default)(".close").trigger("click")}),r.default.bind("right",function(){if(n>=0&&n<e-1)return toggleFocus(i),n+=1,i=t[n],void toggleFocus(i);o.length>0&&o.find("li.next:not(.disabled)").length>0&&n===e-1&&(window.location.href=window.location.origin+(0,a.default)(o).find("li.next a").attr("href"))}),r.default.bind("left",function(){if(n>0&&n<e)return toggleFocus(i),n-=1,i=t[n],void toggleFocus(i);o.length>0&&(0,a.default)(o).find("li.prev:not(.disabled)").length>0&&0===n&&(window.location.href=window.location.origin+(0,a.default)(o).find("li.prev a").attr("href")+"#prev")}),r.default.bind("enter",function(){window.location.href=window.location.origin+(0,a.default)(i).find("span.card-title a").attr("href")}))})},function(t,e,n){"use strict";function initFilters(){(0,r.default)("div").is("#filters")&&((0,r.default)("#button_filters").show(),(0,r.default)(".js-filters-action").sideNav({edge:"right"}),(0,r.default)("#clear_form_filters").on("click",function(){return(0,r.default)("#filters input").val(""),(0,r.default)("#filters :checked").removeAttr("checked"),!1}))}function initExport(){(0,r.default)("div").is("#export")&&((0,r.default)("#button_export").show(),(0,r.default)(".js-export-action").sideNav({edge:"right"}))}Object.defineProperty(e,"__esModule",{value:!0}),e.initFilters=e.initExport=void 0;var i=n(0),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.initExport=initExport,e.initFilters=initFilters},,,function(t,e){},function(t,e){},function(e,i,a){(function(d,f){var h,g,g,h,b,g,b,h,T,h,b,g;if(void 0===C){var C;C=d=a(0)}C.easing.jswing=C.easing.swing,C.extend(C.easing,{def:"easeOutQuad",swing:function(t,e,n,i,r){return C.easing[C.easing.def](t,e,n,i,r)},easeInQuad:function(t,e,n,i,r){return i*(e/=r)*e+n},easeOutQuad:function(t,e,n,i,r){return-i*(e/=r)*(e-2)+n},easeInOutQuad:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,i,r){return i*(e/=r)*e*e+n},easeOutCubic:function(t,e,n,i,r){return i*((e=e/r-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,i,r){return i*(e/=r)*e*e*e+n},easeOutQuart:function(t,e,n,i,r){return-i*((e=e/r-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e+n:-i/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,i,r){return i*(e/=r)*e*e*e*e+n},easeOutQuint:function(t,e,n,i,r){return i*((e=e/r-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e*e+n:i/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,i,r){return-i*Math.cos(e/r*(Math.PI/2))+i+n},easeOutSine:function(t,e,n,i,r){return i*Math.sin(e/r*(Math.PI/2))+n},easeInOutSine:function(t,e,n,i,r){return-i/2*(Math.cos(Math.PI*e/r)-1)+n},easeInExpo:function(t,e,n,i,r){return 0==e?n:i*Math.pow(2,10*(e/r-1))+n},easeOutExpo:function(t,e,n,i,r){return e==r?n+i:i*(1-Math.pow(2,-10*e/r))+n},easeInOutExpo:function(t,e,n,i,r){return 0==e?n:e==r?n+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+n:i/2*(2-Math.pow(2,-10*--e))+n},easeInCirc:function(t,e,n,i,r){return-i*(Math.sqrt(1-(e/=r)*e)-1)+n},easeOutCirc:function(t,e,n,i,r){return i*Math.sqrt(1-(e=e/r-1)*e)+n},easeInOutCirc:function(t,e,n,i,r){return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+n:i/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,i,r){var o=1.70158,a=0,s=i;if(0==e)return n;if(1==(e/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return-s*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/a)+n},easeOutElastic:function(t,e,n,i,r){var o=1.70158,a=0,s=i;if(0==e)return n;if(1==(e/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return s*Math.pow(2,-10*e)*Math.sin((e*r-o)*(2*Math.PI)/a)+i+n},easeInOutElastic:function(t,e,n,i,r){var o=1.70158,a=0,s=i;if(0==e)return n;if(2==(e/=r/2))return n+i;if(a||(a=r*(.3*1.5)),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return e<1?s*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/a)*-.5+n:s*Math.pow(2,-10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/a)*.5+i+n},easeInBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*(e/=r)*e*((o+1)*e-o)+n},easeOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*((e=e/r-1)*e*((o+1)*e+o)+1)+n},easeInOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),(e/=r/2)<1?i/2*(e*e*((1+(o*=1.525))*e-o))+n:i/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+n},easeInBounce:function(t,e,n,i,r){return i-C.easing.easeOutBounce(t,r-e,0,i,r)+n},easeOutBounce:function(t,e,n,i,r){return(e/=r)<1/2.75?i*(7.5625*e*e)+n:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+n:i*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(t,e,n,i,r){return e<r/2?.5*C.easing.easeInBounce(t,2*e,0,i,r)+n:.5*C.easing.easeOutBounce(t,2*e-r,0,i,r)+.5*i+n}}),C.extend(C.easing,{easeInOutMaterial:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:i/4*((e-=2)*e*e+2)+n}}),C.Velocity?console.log("Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity."):(function(n){function t(t){var e=t.length,n=i.type(t);return"function"!==n&&!i.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}if(!f){var i=function(t,e){return new i.fn.init(t,e)};i.isWindow=function(t){return null!=t&&t==t.window},i.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?o[s.call(t)]||"object":typeof t},i.isArray=Array.isArray||function(t){return"array"===i.type(t)},i.isPlainObject=function(t){var e;if(!t||"object"!==i.type(t)||t.nodeType||i.isWindow(t))return!1;try{if(t.constructor&&!a.call(t,"constructor")&&!a.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||a.call(t,e)},i.each=function(e,n,i){var r=0,o=e.length,a=t(e);if(i){if(a)for(;o>r&&!1!==n.apply(e[r],i);r++);else for(r in e)if(!1===n.apply(e[r],i))break}else if(a)for(;o>r&&!1!==n.call(e[r],r,e[r]);r++);else for(r in e)if(!1===n.call(e[r],r,e[r]))break;return e},i.data=function(t,e,n){if(void 0===n){var o=t[i.expando],a=o&&r[o];if(void 0===e)return a;if(a&&e in a)return a[e]}else if(void 0!==e){var o=t[i.expando]||(t[i.expando]=++i.uuid);return r[o]=r[o]||{},r[o][e]=n,n}},i.removeData=function(t,e){var n=t[i.expando],o=n&&r[n];o&&i.each(e,function(t,e){delete o[e]})},i.extend=function(){var t,e,n,r,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==i.type(s)&&(s={}),l===u&&(s=this,l--);u>l;l++)if(null!=(o=arguments[l]))for(r in o)t=s[r],n=o[r],s!==n&&(c&&n&&(i.isPlainObject(n)||(e=i.isArray(n)))?(e?(e=!1,a=t&&i.isArray(t)?t:[]):a=t&&i.isPlainObject(t)?t:{},s[r]=i.extend(c,a,n)):void 0!==n&&(s[r]=n));return s},i.queue=function(e,n,r){if(e){n=(n||"fx")+"queue";var o=i.data(e,n);return r?(!o||i.isArray(r)?o=i.data(e,n,function(e,n){var i=n||[];return null!=e&&(t(Object(e))?function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];t.length=r}(i,"string"==typeof e?[e]:e):[].push.call(i,e)),i}(r)):o.push(r),o):o||[]}},i.dequeue=function(t,e){i.each(t.nodeType?[t]:t,function(t,n){e=e||"fx";var r=i.queue(n,e),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===e&&r.unshift("inprogress"),o.call(n,function(){i.dequeue(n,e)}))})},i.fn=i.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(n.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(n.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var t=this[0],e=e.apply(t),n=this.offset(),r=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:i(e).offset();return n.top-=parseFloat(t.style.marginTop)||0,n.left-=parseFloat(t.style.marginLeft)||0,e.style&&(r.top+=parseFloat(e.style.borderTopWidth)||0,r.left+=parseFloat(e.style.borderLeftWidth)||0),{top:n.top-r.top,left:n.left-r.left}}};var r={};i.expando="velocity"+(new Date).getTime(),i.uuid=0;for(var o={},a=o.hasOwnProperty,s=o.toString,l="Boolean Number String Function Array Date RegExp Object Error".split(" "),u=0;u<l.length;u++)o["[object "+l[u]+"]"]=l[u].toLowerCase();i.fn.init.prototype=i.fn,n.Velocity={Utilities:i}}}(window),function(t){"object"==typeof e&&"object"==typeof e.exports?e.exports=t():(h=t,void 0!==(g="function"==typeof h?h.call(i,a,i,e):h)&&(e.exports=g))}(function(){return function(r,a,h,v){function n(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var r=t[e];r&&i.push(r)}return i}function o(t){return w.isWrapped(t)?t=[].slice.call(t):w.isNode(t)&&(t=[t]),t}function i(t){var e=m.data(t,"velocity");return null===e?v:e}function s(t){return function(e){return Math.round(e*t)*(1/t)}}function l(t,e,n,r){function o(t,e){return 1-3*e+3*t}function i(t,e){return 3*e-6*t}function s(t){return 3*t}function l(t,e,n){return((o(e,n)*t+i(e,n))*t+s(e))*t}function u(t,e,n){return 3*o(e,n)*t*t+2*i(e,n)*t+s(e)}function c(e,i){for(var r=0;h>r;++r){var o=u(i,t,n);if(0===o)return i;i-=(l(i,t,n)-e)/o}return i}function p(){for(var e=0;b>e;++e)C[e]=l(e*w,t,n)}function f(e,i,r){var o,a,s=0;do{a=i+(r-i)/2,o=l(a,t,n)-e,o>0?r=a:i=a}while(Math.abs(o)>m&&++s<y);return a}function d(e){for(var i=0,r=1,o=b-1;r!=o&&C[r]<=e;++r)i+=w;--r;var a=(e-C[r])/(C[r+1]-C[r]),s=i+a*w,l=u(s,t,n);return l>=v?c(e,s):0==l?s:f(e,i,i+w)}function g(){k=!0,(t!=e||n!=r)&&p()}var h=4,v=.001,m=1e-7,y=10,b=11,w=1/(b-1),x="Float32Array"in a;if(4!==arguments.length)return!1;for(var T=0;4>T;++T)if("number"!=typeof arguments[T]||isNaN(arguments[T])||!isFinite(arguments[T]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var C=x?new Float32Array(b):new Array(b),k=!1,E=function(i){return k||g(),t===e&&n===r?i:0===i?0:1===i?1:l(d(i),e,r)};E.getControlPoints=function(){return[{x:t,y:e},{x:n,y:r}]};var S="generateBezier("+[t,e,n,r]+")";return E.toString=function(){return S},E}function u(t,e){var n=t;return w.isString(t)?E.Easings[t]||(n=!1):n=w.isArray(t)&&1===t.length?s.apply(null,t):w.isArray(t)&&2===t.length?S.apply(null,t.concat([e])):!(!w.isArray(t)||4!==t.length)&&l.apply(null,t),!1===n&&(n=E.Easings[E.defaults.easing]?E.defaults.easing:k),n}function c(t){if(t){var e=(new Date).getTime(),r=E.State.calls.length;r>1e4&&(E.State.calls=n(E.State.calls));for(var o=0;r>o;o++)if(E.State.calls[o]){var a=E.State.calls[o],s=a[0],l=a[2],u=a[3],d=!!u,f=null;u||(u=E.State.calls[o][3]=e-16);for(var h=Math.min((e-u)/l.duration,1),g=0,y=s.length;y>g;g++){var b=s[g],x=b.element;if(i(x)){var T=!1;if(l.display!==v&&null!==l.display&&"none"!==l.display){if("flex"===l.display){var C=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];m.each(C,function(t,e){_.setPropertyValue(x,"display",e)})}_.setPropertyValue(x,"display",l.display)}l.visibility!==v&&"hidden"!==l.visibility&&_.setPropertyValue(x,"visibility",l.visibility);for(var k in b)if("element"!==k){var S,A=b[k],D=w.isString(A.easing)?E.Easings[A.easing]:A.easing;if(1===h)S=A.endValue;else{var O=A.endValue-A.startValue;if(S=A.startValue+O*D(h,l,O),!d&&S===A.currentValue)continue}if(A.currentValue=S,"tween"===k)f=S;else{if(_.Hooks.registered[k]){var N=_.Hooks.getRoot(k),M=i(x).rootPropertyValueCache[N];M&&(A.rootPropertyValue=M)}var I=_.setPropertyValue(x,k,A.currentValue+(0===parseFloat(S)?"":A.unitType),A.rootPropertyValue,A.scrollData);_.Hooks.registered[k]&&(i(x).rootPropertyValueCache[N]=_.Normalizations.registered[N]?_.Normalizations.registered[N]("extract",null,I[1]):I[1]),"transform"===I[0]&&(T=!0)}}l.mobileHA&&i(x).transformCache.translate3d===v&&(i(x).transformCache.translate3d="(0px, 0px, 0px)",T=!0),T&&_.flushTransformCache(x)}}l.display!==v&&"none"!==l.display&&(E.State.calls[o][2].display=!1),l.visibility!==v&&"hidden"!==l.visibility&&(E.State.calls[o][2].visibility=!1),l.progress&&l.progress.call(a[1],a[1],h,Math.max(0,u+l.duration-e),u,f),1===h&&p(o)}}E.State.isTicking&&P(c)}function p(t,e){if(!E.State.calls[t])return!1;for(var n=E.State.calls[t][0],r=E.State.calls[t][1],o=E.State.calls[t][2],a=E.State.calls[t][4],s=!1,l=0,u=n.length;u>l;l++){var c=n[l].element;if(e||o.loop||("none"===o.display&&_.setPropertyValue(c,"display",o.display),"hidden"===o.visibility&&_.setPropertyValue(c,"visibility",o.visibility)),!0!==o.loop&&(m.queue(c)[1]===v||!/\.velocityQueueEntryFlag/i.test(m.queue(c)[1]))&&i(c)){i(c).isAnimating=!1,i(c).rootPropertyValueCache={};var d=!1;m.each(_.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,r=i(c).transformCache[e];i(c).transformCache[e]!==v&&new RegExp("^\\("+n+"[^.]").test(r)&&(d=!0,delete i(c).transformCache[e])}),o.mobileHA&&(d=!0,delete i(c).transformCache.translate3d),d&&_.flushTransformCache(c),_.Values.removeClass(c,"velocity-animating")}if(!e&&o.complete&&!o.loop&&l===u-1)try{o.complete.call(r,r)}catch(t){setTimeout(function(){throw t},1)}a&&!0!==o.loop&&a(r),i(c)&&!0===o.loop&&!e&&(m.each(i(c).tweensContainer,function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),E(c,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&m.dequeue(c,o.queue)}E.State.calls[t]=!1;for(var f=0,h=E.State.calls.length;h>f;f++)if(!1!==E.State.calls[f]){s=!0;break}!1===s&&(E.State.isTicking=!1,delete E.State.calls,E.State.calls=[])}var m,y=function(){if(h.documentMode)return h.documentMode;for(var t=7;t>4;t--){var e=h.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return v}(),b=function(){var t=0;return a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||function(e){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-t)),t=i+n,setTimeout(function(){e(i+n)},n)}}(),w={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==v&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||a.Zepto&&a.Zepto.zepto.isZ(t))},isSVG:function(t){return a.SVGElement&&t instanceof a.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},x=!1;if(r.fn&&r.fn.jquery?(m=r,x=!0):m=a.Velocity.Utilities,8>=y&&!x)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=y)return void(C.fn.velocity=C.fn.animate);var T=400,k="swing",E={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:a.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:h.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:m,Redirects:{},Easings:{},Promise:a.Promise,defaults:{queue:"",duration:T,easing:k,begin:v,complete:v,progress:v,display:v,visibility:v,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){m.data(t,"velocity",{isSVG:w.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};a.pageYOffset!==v?(E.State.scrollAnchor=a,E.State.scrollPropertyLeft="pageXOffset",E.State.scrollPropertyTop="pageYOffset"):(E.State.scrollAnchor=h.documentElement||h.body.parentNode||h.body,E.State.scrollPropertyLeft="scrollLeft",E.State.scrollPropertyTop="scrollTop");var S=function(){function e(t){return-t.tension*t.x-t.friction*t.v}function t(t,n,i){var r={x:t.x+i.dx*n,v:t.v+i.dv*n,tension:t.tension,friction:t.friction};return{dx:r.v,dv:e(r)}}function r(n,i){var r={dx:n.v,dv:e(n)},o=t(n,.5*i,r),a=t(n,.5*i,o),s=t(n,i,a),l=1/6*(r.dx+2*(o.dx+a.dx)+s.dx),u=1/6*(r.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+l*i,n.v=n.v+u*i,n}return function a(t,e,n){var i,o,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0;for(t=parseFloat(t)||500,e=parseFloat(e)||20,n=n||null,l.tension=t,l.friction=e,i=null!==n,i?(c=a(t,e),o=c/n*.016):o=.016;s=r(s||l,o),u.push(1+s.x),c+=16,Math.abs(s.x)>1e-4&&Math.abs(s.v)>1e-4;);return i?function(t){return u[t*(u.length-1)|0]}:c}}();E.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},m.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){E.Easings[e[0]]=l.apply(null,e[1])});var _=E.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<_.Lists.colors.length;t++){var e="color"===_.Lists.colors[t]?"0 0 0 1":"255 255 255 1";_.Hooks.templates[_.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,r;if(y)for(n in _.Hooks.templates){i=_.Hooks.templates[n],r=i[0].split(" ");var o=i[1].match(_.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),_.Hooks.templates[n]=[r.join(" "),o.join(" ")])}for(n in _.Hooks.templates){i=_.Hooks.templates[n],r=i[0].split(" ");for(var t in r){var a=n+r[t],s=t;_.Hooks.registered[a]=[n,s]}}},getRoot:function(t){var e=_.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return _.RegEx.valueUnwrap.test(e)&&(e=e.match(_.RegEx.valueUnwrap)[1]),_.Values.isCSSNullValue(e)&&(e=_.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=_.Hooks.registered[t];if(n){var i=n[0],r=n[1];return e=_.Hooks.cleanRootPropertyValue(i,e),e.toString().match(_.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,n){var i=_.Hooks.registered[t];if(i){var r,o=i[0],a=i[1];return n=_.Hooks.cleanRootPropertyValue(o,n),r=n.toString().match(_.RegEx.valueSplit),r[a]=e,r.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return _.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=n.toString().match(_.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return E.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(8>=y)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){9>=y||E.State.isGingerbread||(_.Lists.transformsBase=_.Lists.transformsBase.concat(_.Lists.transforms3D));for(var t=0;t<_.Lists.transformsBase.length;t++)!function(){var e=_.Lists.transformsBase[t];_.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return i(n)===v||i(n).transformCache[e]===v?/^scale/i.test(e)?1:0:i(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":E.State.isAndroid&&i(n).transformCache[e]===v&&1>r&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(i(n).transformCache[e]="("+r+")"),i(n).transformCache[e]}}}();for(var t=0;t<_.Lists.colors.length;t++)!function(){var e=_.Lists.colors[t];_.Normalizations.registered[e]=function(t,n,i){switch(t){case"name":return e;case"extract":var r;if(_.RegEx.wrappedValueAlreadyExtracted.test(i))r=i;else{var o,a={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(i)?o=a[i]!==v?a[i]:a.black:_.RegEx.isHex.test(i)?o="rgb("+_.Values.hexToRgb(i).join(" ")+")":/^rgba?\(/i.test(i)||(o=a.black),r=(o||i).toString().match(_.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=y||3!==r.split(" ").length||(r+=" 1"),r;case"inject":return 8>=y?4===i.split(" ").length&&(i=i.split(/\s+/).slice(0,3).join(" ")):3===i.split(" ").length&&(i+=" 1"),(8>=y?"rgb":"rgba")+"("+i.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(y||E.State.isAndroid&&!E.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(E.State.prefixMatches[t])return[E.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;i>n;n++){var r;if(r=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),w.isString(E.State.prefixElement.style[r]))return E.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(n,function(t,e,n,i){return e+e+n+n+i+i}),e=i.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,e,r,o){function s(t,e){function n(){l&&_.setPropertyValue(t,"display","none")}var r=0;if(8>=y)r=m.css(t,e);else{var l=!1;if(/^(width|height)$/.test(e)&&0===_.getPropertyValue(t,"display")&&(l=!0,_.setPropertyValue(t,"display",_.Values.getDisplayType(t))),!o){if("height"===e&&"border-box"!==_.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var u=t.offsetHeight-(parseFloat(_.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(_.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(_.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(_.getPropertyValue(t,"paddingBottom"))||0);return n(),u}if("width"===e&&"border-box"!==_.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var c=t.offsetWidth-(parseFloat(_.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(_.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(_.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(_.getPropertyValue(t,"paddingRight"))||0);return n(),c}}var d;d=i(t)===v?a.getComputedStyle(t,null):i(t).computedStyle?i(t).computedStyle:i(t).computedStyle=a.getComputedStyle(t,null),"borderColor"===e&&(e="borderTopColor"),r=9===y&&"filter"===e?d.getPropertyValue(e):d[e],(""===r||null===r)&&(r=t.style[e]),n()}if("auto"===r&&/^(top|right|bottom|left)$/i.test(e)){var f=s(t,"position");("fixed"===f||"absolute"===f&&/top|left/i.test(e))&&(r=m(t).position()[e]+"px")}return r}var l;if(_.Hooks.registered[e]){var u=e,c=_.Hooks.getRoot(u);r===v&&(r=_.getPropertyValue(t,_.Names.prefixCheck(c)[0])),_.Normalizations.registered[c]&&(r=_.Normalizations.registered[c]("extract",t,r)),l=_.Hooks.extractValue(u,r)}else if(_.Normalizations.registered[e]){var d,f;d=_.Normalizations.registered[e]("name",t),"transform"!==d&&(f=s(t,_.Names.prefixCheck(d)[0]),_.Values.isCSSNullValue(f)&&_.Hooks.templates[e]&&(f=_.Hooks.templates[e][1])),l=_.Normalizations.registered[e]("extract",t,f)}if(!/^[\d-]/.test(l))if(i(t)&&i(t).isSVG&&_.Names.SVGAttribute(e))if(/^(height|width)$/i.test(e))try{l=t.getBBox()[e]}catch(t){l=0}else l=t.getAttribute(e);else l=s(t,_.Names.prefixCheck(e)[0]);return _.Values.isCSSNullValue(l)&&(l=0),E.debug>=2&&console.log("Get "+e+": "+l),l},setPropertyValue:function(t,e,n,r,o){var s=e;if("scroll"===e)o.container?o.container["scroll"+o.direction]=n:"Left"===o.direction?a.scrollTo(n,o.alternateValue):a.scrollTo(o.alternateValue,n);else if(_.Normalizations.registered[e]&&"transform"===_.Normalizations.registered[e]("name",t))_.Normalizations.registered[e]("inject",t,n),s="transform",n=i(t).transformCache[e];else{if(_.Hooks.registered[e]){var l=e,u=_.Hooks.getRoot(e);r=r||_.getPropertyValue(t,u),n=_.Hooks.injectValue(l,n,r),e=u}if(_.Normalizations.registered[e]&&(n=_.Normalizations.registered[e]("inject",t,n),e=_.Normalizations.registered[e]("name",t)),s=_.Names.prefixCheck(e)[0],8>=y)try{t.style[s]=n}catch(t){E.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else i(t)&&i(t).isSVG&&_.Names.SVGAttribute(e)?t.setAttribute(e,n):t.style[s]=n;E.debug>=2&&console.log("Set "+e+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(e){function t(t){return parseFloat(_.getPropertyValue(e,t))}var n="";if((y||E.State.isAndroid&&!E.State.isChrome)&&i(e).isSVG){var r={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};m.each(i(e).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),r[t]&&(n+=t+"("+r[t].join(" ")+") ",delete r[t])})}else{var o,a;m.each(i(e).transformCache,function(t){return o=i(e).transformCache[t],"transformPerspective"===t?(a=o,!0):(9===y&&"rotateZ"===t&&(t="rotate"),void(n+=t+o+" "))}),a&&(n="perspective"+a+" "+n)}_.setPropertyValue(e,"transform",n)}};_.Hooks.register(),_.Normalizations.register(),E.hook=function(t,e,n){var r=v;return t=o(t),m.each(t,function(t,o){if(i(o)===v&&E.init(o),n===v)r===v&&(r=E.CSS.getPropertyValue(o,e));else{var a=E.CSS.setPropertyValue(o,e,n);"transform"===a[0]&&E.CSS.flushTransformCache(o),r=a}}),r};var A=function(){function e(){return t?S.promise||null:r}function n(){function e(e){function p(t,e){var i=v,o=v,a=v;return w.isArray(t)?(i=t[0],!w.isArray(t[1])&&/^[\d-]/.test(t[1])||w.isFunction(t[1])||_.RegEx.isHex.test(t[1])?a=t[1]:(w.isString(t[1])&&!_.RegEx.isHex.test(t[1])||w.isArray(t[1]))&&(o=e?t[1]:u(t[1],r.duration),t[2]!==v&&(a=t[2]))):i=t,e||(o=o||r.easing),w.isFunction(i)&&(i=i.call(n,x,b)),w.isFunction(a)&&(a=a.call(n,x,b)),[i||0,o,a]}function d(t,e){var n,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return n=t,""}),n||(n=_.Values.getUnitType(t)),[i,n]}if(r.begin&&0===x)try{r.begin.call(l,l)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===P){var s,y,T,C=/^x$/i.test(r.axis)?"Left":"Top",k=parseFloat(r.offset)||0;r.container?w.isWrapped(r.container)||w.isNode(r.container)?(r.container=r.container[0]||r.container,s=r.container["scroll"+C],T=s+m(n).position()[C.toLowerCase()]+k):r.container=null:(s=E.State.scrollAnchor[E.State["scrollProperty"+C]],y=E.State.scrollAnchor[E.State["scrollProperty"+("Left"===C?"Top":"Left")]],T=m(n).offset()[C.toLowerCase()]+k),o={scroll:{rootPropertyValue:!1,startValue:s,currentValue:s,endValue:T,unitType:"",easing:r.easing,scrollData:{container:r.container,direction:C,alternateValue:y}},element:n},E.debug&&console.log("tweensContainer (scroll): ",o.scroll,n)}else if("reverse"===P){if(!i(n).tweensContainer)return void m.dequeue(n,r.queue);"none"===i(n).opts.display&&(i(n).opts.display="auto"),"hidden"===i(n).opts.visibility&&(i(n).opts.visibility="visible"),i(n).opts.loop=!1,i(n).opts.begin=null,i(n).opts.complete=null,g.easing||delete r.easing,g.duration||delete r.duration,r=m.extend({},i(n).opts,r);var A=m.extend(!0,{},i(n).tweensContainer);for(var D in A)if("element"!==D){var O=A[D].startValue;A[D].startValue=A[D].currentValue=A[D].endValue,A[D].endValue=O,w.isEmptyObject(g)||(A[D].easing=r.easing),E.debug&&console.log("reverse tweensContainer ("+D+"): "+JSON.stringify(A[D]),n)}o=A}else if("start"===P){var A;i(n).tweensContainer&&!0===i(n).isAnimating&&(A=i(n).tweensContainer),m.each(f,function(t,e){if(RegExp("^"+_.Lists.colors.join("$|^")+"$").test(t)){var n=p(e,!0),i=n[0],r=n[1],o=n[2];if(_.RegEx.isHex.test(i)){for(var a=["Red","Green","Blue"],s=_.Values.hexToRgb(i),l=o?_.Values.hexToRgb(o):v,u=0;u<a.length;u++){var c=[s[u]];r&&c.push(r),l!==v&&c.push(l[u]),f[t+a[u]]=c}delete f[t]}}});for(var N in f){var M=p(f[N]),I=M[0],z=M[1],F=M[2];N=_.Names.camelCase(N);var q=_.Hooks.getRoot(N),H=!1;if(i(n).isSVG||"tween"===q||!1!==_.Names.prefixCheck(q)[1]||_.Normalizations.registered[q]!==v){(r.display!==v&&null!==r.display&&"none"!==r.display||r.visibility!==v&&"hidden"!==r.visibility)&&/opacity|filter/.test(N)&&!F&&0!==I&&(F=0),r._cacheValues&&A&&A[N]?(F===v&&(F=A[N].endValue+A[N].unitType),H=i(n).rootPropertyValueCache[q]):_.Hooks.registered[N]?F===v?(H=_.getPropertyValue(n,q),F=_.getPropertyValue(n,N,H)):H=_.Hooks.templates[q][1]:F===v&&(F=_.getPropertyValue(n,N));var j,W,B,V=!1;if(j=d(N,F),F=j[0],B=j[1],j=d(N,I),I=j[0].replace(/^([+-\/*])=/,function(t,e){return V=e,""}),W=j[1],F=parseFloat(F)||0,I=parseFloat(I)||0,"%"===W&&(/^(fontSize|lineHeight)$/.test(N)?(I/=100,W="em"):/^scale/.test(N)?(I/=100,W=""):/(Red|Green|Blue)$/i.test(N)&&(I=I/100*255,W="")),/[\/*]/.test(V))W=B;else if(B!==W&&0!==F)if(0===I)W=B;else{t=t||function(){var t={myParent:n.parentNode||h.body,position:_.getPropertyValue(n,"position"),fontSize:_.getPropertyValue(n,"fontSize")},e=t.position===R.lastPosition&&t.myParent===R.lastParent,r=t.fontSize===R.lastFontSize;R.lastParent=t.myParent,R.lastPosition=t.position,R.lastFontSize=t.fontSize;var o=100,s={};if(r&&e)s.emToPx=R.lastEmToPx,s.percentToPxWidth=R.lastPercentToPxWidth,s.percentToPxHeight=R.lastPercentToPxHeight;else{var l=i(n).isSVG?h.createElementNS("http://www.w3.org/2000/svg","rect"):h.createElement("div");E.init(l),t.myParent.appendChild(l),m.each(["overflow","overflowX","overflowY"],function(t,e){E.CSS.setPropertyValue(l,e,"hidden")}),E.CSS.setPropertyValue(l,"position",t.position),E.CSS.setPropertyValue(l,"fontSize",t.fontSize),E.CSS.setPropertyValue(l,"boxSizing","content-box"),m.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){E.CSS.setPropertyValue(l,e,o+"%")}),E.CSS.setPropertyValue(l,"paddingLeft",o+"em"),s.percentToPxWidth=R.lastPercentToPxWidth=(parseFloat(_.getPropertyValue(l,"width",null,!0))||1)/o,s.percentToPxHeight=R.lastPercentToPxHeight=(parseFloat(_.getPropertyValue(l,"height",null,!0))||1)/o,s.emToPx=R.lastEmToPx=(parseFloat(_.getPropertyValue(l,"paddingLeft"))||1)/o,t.myParent.removeChild(l)}return null===R.remToPx&&(R.remToPx=parseFloat(_.getPropertyValue(h.body,"fontSize"))||16),null===R.vwToPx&&(R.vwToPx=parseFloat(a.innerWidth)/100,R.vhToPx=parseFloat(a.innerHeight)/100),s.remToPx=R.remToPx,s.vwToPx=R.vwToPx,s.vhToPx=R.vhToPx,E.debug>=1&&console.log("Unit ratios: "+JSON.stringify(s),n),s}();var X=/margin|padding|left|right|width|text|word|letter/i.test(N)||/X$/.test(N)||"x"===N?"x":"y";switch(B){case"%":F*="x"===X?t.percentToPxWidth:t.percentToPxHeight;break;case"px":break;default:F*=t[B+"ToPx"]}switch(W){case"%":F*=1/("x"===X?t.percentToPxWidth:t.percentToPxHeight);break;case"px":break;default:F*=1/t[W+"ToPx"]}}switch(V){case"+":I=F+I;break;case"-":I=F-I;break;case"*":I*=F;break;case"/":I=F/I}o[N]={rootPropertyValue:H,startValue:F,currentValue:F,endValue:I,unitType:W,easing:z},E.debug&&console.log("tweensContainer ("+N+"): "+JSON.stringify(o[N]),n)}else E.debug&&console.log("Skipping ["+q+"] due to a lack of browser support.")}o.element=n}o.element&&(_.Values.addClass(n,"velocity-animating"),L.push(o),""===r.queue&&(i(n).tweensContainer=o,i(n).opts=r),i(n).isAnimating=!0,x===b-1?(E.State.calls.push([L,l,r,null,S.resolver]),!1===E.State.isTicking&&(E.State.isTicking=!0,c())):x++)}var t,n=this,r=m.extend({},E.defaults,g),o={};switch(i(n)===v&&E.init(n),parseFloat(r.delay)&&!1!==r.queue&&m.queue(n,r.queue,function(t){E.velocityQueueEntryFlag=!0,i(n).delayTimer={setTimeout:setTimeout(t,parseFloat(r.delay)),next:t}}),r.duration.toString().toLowerCase()){case"fast":r.duration=200;break;case"normal":r.duration=T;break;case"slow":r.duration=600;break;default:r.duration=parseFloat(r.duration)||1}!1!==E.mock&&(!0===E.mock?r.duration=r.delay=1:(r.duration*=parseFloat(E.mock)||1,r.delay*=parseFloat(E.mock)||1)),r.easing=u(r.easing,r.duration),r.begin&&!w.isFunction(r.begin)&&(r.begin=null),r.progress&&!w.isFunction(r.progress)&&(r.progress=null),r.complete&&!w.isFunction(r.complete)&&(r.complete=null),r.display!==v&&null!==r.display&&(r.display=r.display.toString().toLowerCase(),"auto"===r.display&&(r.display=E.CSS.Values.getDisplayType(n))),r.visibility!==v&&null!==r.visibility&&(r.visibility=r.visibility.toString().toLowerCase()),r.mobileHA=r.mobileHA&&E.State.isMobile&&!E.State.isGingerbread,!1===r.queue?r.delay?setTimeout(e,r.delay):e():m.queue(n,r.queue,function(t,n){return!0===n?(S.promise&&S.resolver(l),!0):(E.velocityQueueEntryFlag=!0,void e(t))}),""!==r.queue&&"fx"!==r.queue||"inprogress"===m.queue(n)[0]||m.dequeue(n)}var t,r,s,l,f,g,y=arguments[0]&&(arguments[0].p||m.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||w.isString(arguments[0].properties));if(w.isWrapped(this)?(t=!1,s=0,l=this,r=this):(t=!0,s=1,l=y?arguments[0].elements||arguments[0].e:arguments[0]),l=o(l)){y?(f=arguments[0].properties||arguments[0].p,g=arguments[0].options||arguments[0].o):(f=arguments[s],g=arguments[s+1]);var b=l.length,x=0;if(!/^(stop|finish)$/i.test(f)&&!m.isPlainObject(g)){var C=s+1;g={};for(var k=C;k<arguments.length;k++)w.isArray(arguments[k])||!/^(fast|normal|slow)$/i.test(arguments[k])&&!/^\d/.test(arguments[k])?w.isString(arguments[k])||w.isArray(arguments[k])?g.easing=arguments[k]:w.isFunction(arguments[k])&&(g.complete=arguments[k]):g.duration=arguments[k]}var S={promise:null,resolver:null,rejecter:null};t&&E.Promise&&(S.promise=new E.Promise(function(t,e){S.resolver=t,S.rejecter=e}));var P;switch(f){case"scroll":P="scroll";break;case"reverse":P="reverse";break;case"finish":case"stop":m.each(l,function(t,e){i(e)&&i(e).delayTimer&&(clearTimeout(i(e).delayTimer.setTimeout),i(e).delayTimer.next&&i(e).delayTimer.next(),delete i(e).delayTimer)});var D=[];return m.each(E.State.calls,function(t,e){e&&m.each(e[1],function(n,r){var o=g===v?"":g;return!0!==o&&e[2].queue!==o&&(g!==v||!1!==e[2].queue)||void m.each(l,function(n,a){a===r&&((!0===g||w.isString(g))&&(m.each(m.queue(a,w.isString(g)?g:""),function(t,e){w.isFunction(e)&&e(null,!0)}),m.queue(a,w.isString(g)?g:"",[])),"stop"===f?(i(a)&&i(a).tweensContainer&&!1!==o&&m.each(i(a).tweensContainer,function(t,e){e.endValue=e.currentValue}),D.push(t)):"finish"===f&&(e[2].duration=1))})})}),"stop"===f&&(m.each(D,function(t,e){p(e,!0)}),S.promise&&S.resolver(l)),e();default:if(!m.isPlainObject(f)||w.isEmptyObject(f)){if(w.isString(f)&&E.Redirects[f]){var O=m.extend({},g),N=O.duration,M=O.delay||0;return!0===O.backwards&&(l=m.extend(!0,[],l).reverse()),m.each(l,function(t,e){parseFloat(O.stagger)?O.delay=M+parseFloat(O.stagger)*t:w.isFunction(O.stagger)&&(O.delay=M+O.stagger.call(e,t,b)),O.drag&&(O.duration=parseFloat(N)||(/^(callout|transition)/.test(f)?1e3:T),O.duration=Math.max(O.duration*(O.backwards?1-t/b:(t+1)/b),.75*O.duration,200)),E.Redirects[f].call(e,e,O||{},t,b,l,S.promise?S:v)}),e()}var I="Velocity: First argument ("+f+") was not a property map, a known action, or a registered redirect. Aborting.";return S.promise?S.rejecter(new Error(I)):console.log(I),e()}P="start"}var R={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},L=[];m.each(l,function(t,e){w.isNode(e)&&n.call(e)});var z,O=m.extend({},E.defaults,g);if(O.loop=parseInt(O.loop),z=2*O.loop-1,O.loop)for(var F=0;z>F;F++){var q={delay:O.delay,progress:O.progress};F===z-1&&(q.display=O.display,q.visibility=O.visibility,q.complete=O.complete),A(l,"reverse",q)}return e()}};E=m.extend(A,E),E.animate=A;var P=a.requestAnimationFrame||b;return E.State.isMobile||h.hidden===v||h.addEventListener("visibilitychange",function(){h.hidden?(P=function(t){return setTimeout(function(){t(!0)},16)},c()):P=a.requestAnimationFrame||b}),r.Velocity=E,r!==a&&(r.fn.velocity=A,r.fn.velocity.defaults=E.defaults),m.each(["Down","Up"],function(t,e){E.Redirects["slide"+e]=function(t,n,i,r,o,a){var s=m.extend({},n),l=s.begin,u=s.complete,c={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},d={};s.display===v&&(s.display="Down"===e?"inline"===E.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),s.begin=function(){l&&l.call(o,o);for(var n in c){d[n]=t.style[n];var i=E.CSS.getPropertyValue(t,n);c[n]="Down"===e?[i,0]:[0,i]}d.overflow=t.style.overflow,t.style.overflow="hidden"},s.complete=function(){for(var e in d)t.style[e]=d[e];u&&u.call(o,o),a&&a.resolver(o)},E(t,c,s)}}),m.each(["In","Out"],function(t,e){E.Redirects["fade"+e]=function(t,n,i,r,o,a){var s=m.extend({},n),l={opacity:"In"===e?1:0},u=s.complete;s.complete=i!==r-1?s.begin=null:function(){u&&u.call(o,o),a&&a.resolver(o)},s.display===v&&(s.display="In"===e?"auto":"none"),E(this,l,s)}}),E}(f||window.Zepto||window,window,document)})),function(c,f,h,b){"use strict";function k(t,e,n){return setTimeout(q(t,n),e)}function l(t,e,n){return!!Array.isArray(t)&&(m(t,n[e],n),!0)}function m(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==b)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function n(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===b)&&(t[i[r]]=e[i[r]]),r++;return t}function o(t,e){return n(t,e,!0)}function p(t,e,i){var r,o=e.prototype;r=t.prototype=Object.create(o),r.constructor=t,r._super=o,i&&n(r,i)}function q(t,e){return function(){return t.apply(e,arguments)}}function r(t,e){return typeof t==S?t.apply(e?e[0]||b:b,e):t}function s(t,e){return t===b?e:t}function t(t,e,n){m(x(e),function(e){t.addEventListener(e,n,!1)})}function u(t,e,n){m(x(e),function(e){t.removeEventListener(e,n,!1)})}function v(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function w(t,e){return t.indexOf(e)>-1}function x(t){return t.trim().split(/\s+/g)}function y(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function z(t){return Array.prototype.slice.call(t,0)}function A(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];y(r,a)<0&&i.push(t[o]),r[o]=a,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function B(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<T.length;){if(n=T[o],(i=n?n+r:e)in t)return i;o++}return b}function D(){return N++}function E(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}function ab(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){r(t.options.enable,[t])&&n.handler(e)},this.init()}function bb(t){var e=t.options.inputClass;return new(e||(R?wb:L?Eb:I?Gb:rb))(t,cb)}function cb(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&W&&0==i-r,a=e&(X|$)&&0==i-r;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,db(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function db(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=gb(e)),r>1&&!n.firstMultiple?n.firstMultiple=gb(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,l=e.center=hb(i);e.timeStamp=O(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=lb(s,l),e.distance=kb(s,l),eb(n,e),e.offsetDirection=jb(e.deltaX,e.deltaY),e.scale=a?nb(a.pointers,i):1,e.rotation=a?mb(a.pointers,i):0,fb(n,e);var u=t.element;v(e.srcEvent.target,u)&&(u=e.srcEvent.target),e.target=u}function eb(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};(e.eventType===W||o.eventType===X)&&(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function fb(t,e){var n,i,r,o,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(e.eventType!=$&&(s>j||a.velocity===b)){var l=a.deltaX-e.deltaX,u=a.deltaY-e.deltaY,c=ib(s,l,u);i=c.x,r=c.y,n=P(c.x)>P(c.y)?c.x:c.y,o=jb(l,u),t.lastInterval=e}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}function gb(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:_(t.pointers[n].clientX),clientY:_(t.pointers[n].clientY)},n++;return{timeStamp:O(),pointers:e,center:hb(e),deltaX:t.deltaX,deltaY:t.deltaY}}function hb(t){var e=t.length;if(1===e)return{x:_(t[0].clientX),y:_(t[0].clientY)};for(var n=0,i=0,r=0;e>r;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:_(n/e),y:_(i/e)}}function ib(t,e,n){return{x:e/t||0,y:n/t||0}}function jb(t,e){return t===e?Y:P(t)>=P(e)?t>0?U:Q:e>0?G:K}function kb(t,e,n){n||(n=et);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function lb(t,e,n){n||(n=et);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function mb(t,e){return lb(e[1],e[0],nt)-lb(t[1],t[0],nt)}function nb(t,e){return kb(e[0],e[1],nt)/kb(t[0],t[1],nt)}function rb(){this.evEl=rt,this.evWin=ot,this.allow=!0,this.pressed=!1,ab.apply(this,arguments)}function wb(){this.evEl=lt,this.evWin=ut,ab.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function Ab(){this.evTarget=dt,this.evWin=ft,this.started=!1,ab.apply(this,arguments)}function Bb(t,e){var n=z(t.touches),i=z(t.changedTouches);return e&(X|$)&&(n=A(n.concat(i),"identifier",!0)),[n,i]}function Eb(){this.evTarget=pt,this.targetIds={},ab.apply(this,arguments)}function Fb(t,e){var n=z(t.touches),i=this.targetIds;if(e&(W|V)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=z(t.changedTouches),s=[],l=this.target;if(o=n.filter(function(t){return v(t.target,l)}),e===W)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),e&(X|$)&&delete i[a[r].identifier],r++;return s.length?[A(o.concat(s),"identifier",!0),s]:void 0}function Gb(){ab.apply(this,arguments);var t=q(this.handler,this);this.touch=new Eb(this.manager,t),this.mouse=new rb(this.manager,t)}function Pb(t,e){this.manager=t,this.set(e)}function Qb(t){if(w(t,wt))return wt;var e=w(t,xt),n=w(t,Tt);return e&&n?xt+" "+Tt:e||n?e?xt:Tt:w(t,bt)?bt:yt}function Yb(t){this.id=D(),this.manager=null,this.options=o(t||{},this.defaults),this.options.enable=s(this.options.enable,!0),this.state=Ct,this.simultaneous={},this.requireFail=[]}function Zb(t){return t&At?"cancel":t&St?"end":t&Et?"move":t&kt?"start":""}function $b(t){return t==K?"down":t==G?"up":t==U?"left":t==Q?"right":""}function _b(t,e){var n=e.manager;return n?n.get(t):t}function ac(){Yb.apply(this,arguments)}function bc(){ac.apply(this,arguments),this.pX=null,this.pY=null}function cc(){ac.apply(this,arguments)}function dc(){Yb.apply(this,arguments),this._timer=null,this._input=null}function ec(){ac.apply(this,arguments)}function fc(){ac.apply(this,arguments)}function gc(){Yb.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function hc(t,e){return e=e||{},e.recognizers=s(e.recognizers,hc.defaults.preset),new kc(t,e)}function kc(t,e){e=e||{},this.options=o(e,hc.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=bb(this),this.touchAction=new Pb(this,this.options.touchAction),lc(this,!0),m(e.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function lc(t,e){var n=t.element;m(t.options.cssProps,function(t,i){n.style[B(n.style,i)]=e?t:""})}function mc(t,e){var n=f.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var T=["","webkit","moz","MS","ms","o"],C=f.createElement("div"),S="function",_=Math.round,P=Math.abs,O=Date.now,N=1,M=/mobile|tablet|ip(ad|hone|od)|android/i,I="ontouchstart"in c,R=B(c,"PointerEvent")!==b,L=I&&M.test(navigator.userAgent),F="touch",H="mouse",j=25,W=1,V=2,X=4,$=8,Y=1,U=2,Q=4,G=8,K=16,J=U|Q,Z=G|K,tt=J|Z,et=["x","y"],nt=["clientX","clientY"];ab.prototype={handler:function(){},init:function(){this.evEl&&t(this.element,this.evEl,this.domHandler),this.evTarget&&t(this.target,this.evTarget,this.domHandler),this.evWin&&t(E(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&u(this.element,this.evEl,this.domHandler),this.evTarget&&u(this.target,this.evTarget,this.domHandler),this.evWin&&u(E(this.element),this.evWin,this.domHandler)}};var it={mousedown:W,mousemove:V,mouseup:X},rt="mousedown",ot="mousemove mouseup";p(rb,ab,{handler:function(t){var e=it[t.type];e&W&&0===t.button&&(this.pressed=!0),e&V&&1!==t.which&&(e=X),this.pressed&&this.allow&&(e&X&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:H,srcEvent:t}))}});var at={pointerdown:W,pointermove:V,pointerup:X,pointercancel:$,pointerout:$},st={2:F,3:"pen",4:H,5:"kinect"},lt="pointerdown",ut="pointermove pointerup pointercancel";c.MSPointerEvent&&(lt="MSPointerDown",ut="MSPointerMove MSPointerUp MSPointerCancel"),p(wb,ab,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=at[i],o=st[t.pointerType]||t.pointerType,a=o==F,s=y(e,t.pointerId,"pointerId");r&W&&(0===t.button||a)?0>s&&(e.push(t),s=e.length-1):r&(X|$)&&(n=!0),0>s||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var ct={touchstart:W,touchmove:V,touchend:X,touchcancel:$},dt="touchstart",ft="touchstart touchmove touchend touchcancel";p(Ab,ab,{handler:function(t){var e=ct[t.type];if(e===W&&(this.started=!0),this.started){var n=Bb.call(this,t,e);e&(X|$)&&0==n[0].length-n[1].length&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:t})}}});var ht={touchstart:W,touchmove:V,touchend:X,touchcancel:$},pt="touchstart touchmove touchend touchcancel";p(Eb,ab,{handler:function(t){var e=ht[t.type],n=Fb.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:t})}}),p(Gb,ab,{handler:function(t,e,n){var i=n.pointerType==F,r=n.pointerType==H;if(i)this.mouse.allow=!1;else if(r&&!this.mouse.allow)return;e&(X|$)&&(this.mouse.allow=!0),this.callback(t,e,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var gt=B(C.style,"touchAction"),vt=gt!==b,mt="compute",yt="auto",bt="manipulation",wt="none",xt="pan-x",Tt="pan-y";Pb.prototype={set:function(t){t==mt&&(t=this.compute()),vt&&(this.manager.element.style[gt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return m(this.manager.recognizers,function(e){r(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),Qb(t.join(" "))},preventDefaults:function(t){if(!vt){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var i=this.actions,r=w(i,wt),o=w(i,Tt),a=w(i,xt);return r||o&&n&J||a&&n&Z?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Ct=1,kt=2,Et=4,St=8,_t=St,At=16;Yb.prototype={defaults:{},set:function(t){return n(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(l(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=_b(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return l(t,"dropRecognizeWith",this)?this:(t=_b(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(l(t,"requireFailure",this))return this;var e=this.requireFail;return t=_b(t,this),-1===y(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(l(t,"dropRequireFailure",this))return this;t=_b(t,this);var e=y(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function d(i){e.manager.emit(e.options.event+(i?Zb(n):""),t)}var e=this,n=this.state;St>n&&d(!0),d(),n>=St&&d(!0)},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Ct)))return!1;t++}return!0},recognize:function(t){var e=n({},t);return r(this.options.enable,[this,e])?(this.state&(_t|At|32)&&(this.state=Ct),this.state=this.process(e),void(this.state&(kt|Et|St|At)&&this.tryEmit(e))):(this.reset(),void(this.state=32))},process:function(){},getTouchAction:function(){},reset:function(){}},p(ac,Yb,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(kt|Et),r=this.attrTest(t);return i&&(n&$||!r)?e|At:i||r?n&X?e|St:e&kt?e|Et:kt:32}}),p(bc,ac,{defaults:{event:"pan",threshold:10,pointers:1,direction:tt},getTouchAction:function(){var t=this.options.direction,e=[];return t&J&&e.push(Tt),t&Z&&e.push(xt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(e.direction&J?(r=0===o?Y:0>o?U:Q,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===a?Y:0>a?G:K,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return ac.prototype.attrTest.call(this,t)&&(this.state&kt||!(this.state&kt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=$b(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)}}),p(cc,ac,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[wt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&kt)},emit:function(t){if(this._super.emit.call(this,t),1!==t.scale){var e=t.scale<1?"in":"out";this.manager.emit(this.options.event+e,t)}}}),p(dc,Yb,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[yt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(X|$)&&!r)this.reset();else if(t.eventType&W)this.reset(),this._timer=k(function(){this.state=_t,this.tryEmit()},e.time,this);else if(t.eventType&X)return _t;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===_t&&(t&&t.eventType&X?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=O(),this.manager.emit(this.options.event,this._input)))}}),p(ec,ac,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[wt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&kt)}}),p(fc,ac,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:J|Z,pointers:1},getTouchAction:function(){return bc.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(J|Z)?e=t.velocity:n&J?e=t.velocityX:n&Z&&(e=t.velocityY),this._super.attrTest.call(this,t)&&n&t.direction&&t.distance>this.options.threshold&&P(e)>this.options.velocity&&t.eventType&X},emit:function(t){var e=$b(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),p(gc,Yb,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[bt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&W&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=X)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||kb(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=k(function(){this.state=_t,this.tryEmit()},e.interval,this),kt):_t}return 32},failTimeout:function(){return this._timer=k(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==_t&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),hc.VERSION="2.0.4",hc.defaults={domEvents:!1,touchAction:mt,enable:!0,inputTarget:null,inputClass:null,preset:[[ec,{enable:!1}],[cc,{enable:!1},["rotate"]],[fc,{direction:J}],[bc,{direction:J},["swipe"]],[gc],[gc,{event:"doubletap",taps:2},["tap"]],[dc]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};kc.prototype={set:function(t){return n(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&_t)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(kt|Et|St)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Yb)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(l(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(l(t,"remove",this))return this;var e=this.recognizers;return t=this.get(t),e.splice(y(e,t),1),this.touchAction.update(),this},on:function(t,e){var n=this.handlers;return m(x(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this},off:function(t,e){var n=this.handlers;return m(x(t),function(t){e?n[t].splice(y(n[t],e),1):delete n[t]}),this},emit:function(t,e){this.options.domEvents&&mc(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&lc(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},n(hc,{INPUT_START:W,INPUT_MOVE:V,INPUT_END:X,INPUT_CANCEL:$,STATE_POSSIBLE:Ct,STATE_BEGAN:kt,STATE_CHANGED:Et,STATE_ENDED:St,STATE_RECOGNIZED:_t,STATE_CANCELLED:At,STATE_FAILED:32,DIRECTION_NONE:Y,DIRECTION_LEFT:U,DIRECTION_RIGHT:Q,DIRECTION_UP:G,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:J,DIRECTION_VERTICAL:Z,DIRECTION_ALL:tt,Manager:kc,Input:ab,TouchAction:Pb,TouchInput:Eb,MouseInput:rb,PointerEventInput:wb,TouchMouseInput:Gb,SingleTouchInput:Ab,Recognizer:Yb,AttrRecognizer:ac,Tap:gc,Pan:bc,Swipe:fc,Pinch:cc,Rotate:ec,Press:dc,on:t,off:u,each:m,merge:o,extend:n,inherit:p,bindFn:q,prefixed:B}),"function"==S&&a(55)?void 0!==(g=function(){return hc}.call(i,a,i,e))&&(e.exports=g):void 0!==e&&e.exports?e.exports=hc:c.Hammer=hc}(window,document),function(t){b=[a(0),a(54)],h=t,void 0!==(g="function"==typeof h?h.apply(i,b):h)&&(e.exports=g)}(function(t,e){function hammerify(n,i){var r=t(n);r.data("hammer")||r.data("hammer",new e(r[0],i))}t.fn.hammer=function(t){return this.each(function(){hammerify(this,t)})},e.Manager.prototype.emit=function(e){return function(n,i){e.call(this,n,i),t(this.element).trigger({type:n,gesture:i})}}(e.Manager.prototype.emit)}),function(t){t.Package?Materialize={}:t.Materialize={}}(window),function(t){for(var e=0,n=["webkit","moz"],i=t.requestAnimationFrame,r=t.cancelAnimationFrame,o=n.length;--o>=0&&!i;)i=t[n[o]+"RequestAnimationFrame"],r=t[n[o]+"CancelRequestAnimationFrame"];i&&r||(i=function(t){var n=+Date.now(),i=Math.max(e+16,n);return setTimeout(function(){t(e=i)},i-n)},r=clearTimeout),t.requestAnimationFrame=i,t.cancelAnimationFrame=r}(window),Materialize.objectSelectorString=function(t){return((t.prop("tagName")||"")+(t.attr("id")||"")+(t.attr("class")||"")).replace(/\s/g,"")},Materialize.guid=function(){function s4(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return s4()+s4()+"-"+s4()+"-"+s4()+"-"+s4()+"-"+s4()+s4()+s4()}}(),Materialize.escapeHash=function(t){return t.replace(/(:|\.|\[|\]|,|=)/g,"\\$1")},Materialize.elementOrParentIsFixed=function(t){var e=d(t),n=e.add(e.parents()),i=!1;return n.each(function(){if("fixed"===d(this).css("position"))return i=!0,!1}),i};var S=Date.now||function(){return(new Date).getTime()};Materialize.throttle=function(t,e,n){var i,r,o,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:S(),a=null,o=t.apply(i,r),i=r=null};return function(){var u=S();s||!1!==n.leading||(s=u);var c=e-(u-s);return i=this,r=arguments,c<=0?(clearTimeout(a),a=null,s=u,o=t.apply(i,r),i=r=null):a||!1===n.trailing||(a=setTimeout(l,c)),o}};var _;_=C?C.Velocity:d?d.Velocity:Velocity,function(t){t.fn.collapsible=function(e,n){var i={accordion:void 0,onOpen:void 0,onClose:void 0},r=e;return e=t.extend(i,e),this.each(function(){function accordionOpen(e){o=i.find("> li > .collapsible-header"),e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}),o.not(e).removeClass("active").parent().removeClass("active"),o.not(e).parent().children(".collapsible-body").stop(!0,!1).each(function(){t(this).is(":visible")&&t(this).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height",""),execCallbacks(t(this).siblings(".collapsible-header"))}})})}function expandableOpen(e){e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}})}function collapsibleOpen(t,n){n||t.toggleClass("active"),e.accordion||"accordion"===a||void 0===a?accordionOpen(t):expandableOpen(t),execCallbacks(t)}function execCallbacks(t){t.hasClass("active")?"function"==typeof e.onOpen&&e.onOpen.call(this,t.parent()):"function"==typeof e.onClose&&e.onClose.call(this,t.parent())}function isChildrenOfPanelHeader(t){return getPanelHeader(t).length>0}function getPanelHeader(t){return t.closest("li > .collapsible-header")}function removeEventHandlers(){i.off("click.collapse","> li > .collapsible-header")}var i=t(this),o=t(this).find("> li > .collapsible-header"),a=i.data("collapsible");if("destroy"===r)return void removeEventHandlers();if(n>=0&&n<o.length){var s=o.eq(n);return void(s.length&&("open"===r||"close"===r&&s.hasClass("active"))&&collapsibleOpen(s))}removeEventHandlers(),i.on("click.collapse","> li > .collapsible-header",function(e){var n=t(e.target);isChildrenOfPanelHeader(n)&&(n=getPanelHeader(n)),collapsibleOpen(n)}),e.accordion||"accordion"===a||void 0===a?collapsibleOpen(o.filter(".active").first(),!0):o.filter(".active").each(function(){collapsibleOpen(t(this),!0)})})},t(document).ready(function(){t(".collapsible").collapsible()})}(C),function(t){t.fn.scrollTo=function(e){return t(this).scrollTop(t(this).scrollTop()-t(this).offset().top+t(e).offset().top),this},t.fn.dropdown=function(e){var n={inDuration:300,outDuration:225,constrainWidth:!0,hover:!1,gutter:0,belowOrigin:!1,alignment:"left",stopPropagation:!1};return"open"===e?(this.each(function(){t(this).trigger("open")}),!1):"close"===e?(this.each(function(){t(this).trigger("close")}),!1):void this.each(function(){function updateOptions(){void 0!==i.data("induration")&&(r.inDuration=i.data("induration")),void 0!==i.data("outduration")&&(r.outDuration=i.data("outduration")),void 0!==i.data("constrainwidth")&&(r.constrainWidth=i.data("constrainwidth")),void 0!==i.data("hover")&&(r.hover=i.data("hover")),void 0!==i.data("gutter")&&(r.gutter=i.data("gutter")),void 0!==i.data("beloworigin")&&(r.belowOrigin=i.data("beloworigin")),void 0!==i.data("alignment")&&(r.alignment=i.data("alignment")),void 0!==i.data("stoppropagation")&&(r.stopPropagation=i.data("stoppropagation"))}function placeDropdown(e){"focus"===e&&(o=!0),updateOptions(),a.addClass("active"),i.addClass("active"),!0===r.constrainWidth?a.css("width",i.outerWidth()):a.css("white-space","nowrap");var n=window.innerHeight,s=i.innerHeight(),l=i.offset().left,u=i.offset().top-t(window).scrollTop(),c=r.alignment,d=0,f=0,h=0;!0===r.belowOrigin&&(h=s);var p=0,g=0,v=i.parent();if(v.is("body")||(v[0].scrollHeight>v[0].clientHeight&&(p=v[0].scrollTop),v[0].scrollWidth>v[0].clientWidth&&(g=v[0].scrollLeft)),l+a.innerWidth()>t(window).width()?c="right":l-a.innerWidth()+i.innerWidth()<0&&(c="left"),u+a.innerHeight()>n)if(u+s-a.innerHeight()<0){var m=n-u-h;a.css("max-height",m)}else h||(h+=s),h-=a.innerHeight();if("left"===c)d=r.gutter,f=i.position().left+d;else if("right"===c){var y=i.position().left+i.outerWidth()-a.outerWidth();d=-r.gutter,f=y+d}a.css({position:"absolute",top:i.position().top+h+p,left:f+g}),a.stop(!0,!0).css("opacity",0).slideDown({queue:!1,duration:r.inDuration,easing:"easeOutCubic",complete:function(){t(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:r.inDuration,easing:"easeOutSine"}),setTimeout(function(){t(document).bind("click."+a.attr("id"),function(e){hideDropdown(),t(document).unbind("click."+a.attr("id"))})},0)}function hideDropdown(){o=!1,a.fadeOut(r.outDuration),a.removeClass("active"),i.removeClass("active"),t(document).unbind("click."+a.attr("id")),setTimeout(function(){a.css("max-height","")},r.outDuration)}var i=t(this),r=t.extend({},n,e),o=!1,a=t("#"+i.attr("data-activates"));if(updateOptions(),i.after(a),r.hover){var s=!1;i.unbind("click."+i.attr("id")),i.on("mouseenter",function(t){!1===s&&(placeDropdown(),s=!0)}),i.on("mouseleave",function(e){var n=e.toElement||e.relatedTarget;t(n).closest(".dropdown-content").is(a)||(a.stop(!0,!0),hideDropdown(),s=!1)}),a.on("mouseleave",function(e){var n=e.toElement||e.relatedTarget;t(n).closest(".dropdown-button").is(i)||(a.stop(!0,!0),hideDropdown(),s=!1)})}else i.unbind("click."+i.attr("id")),i.bind("click."+i.attr("id"),function(e){o||(i[0]!=e.currentTarget||i.hasClass("active")||0!==t(e.target).closest(".dropdown-content").length?i.hasClass("active")&&(hideDropdown(),t(document).unbind("click."+a.attr("id"))):(e.preventDefault(),r.stopPropagation&&e.stopPropagation(),placeDropdown("click")))});i.on("open",function(t,e){placeDropdown(e)}),i.on("close",hideDropdown)})},t(document).ready(function(){t(".dropdown-button").dropdown()})}(C),function(t){var e=0,n=0,i=function(){return"materialize-modal-overlay-"+ ++n},r={init:function(n){var r={opacity:.5,inDuration:350,outDuration:250,ready:void 0,complete:void 0,dismissible:!0,startingTop:"4%",endingTop:"10%"};return n=t.extend(r,n),this.each(function(){var r=t(this),o=t(this).attr("id")||"#"+t(this).data("target"),a=function(){var i=r.data("overlay-id"),o=t("#"+i);r.removeClass("open"),t("body").css({overflow:"",width:""}),r.find(".modal-close").off("click.close"),t(document).off("keyup.modal"+i),o.velocity({opacity:0},{duration:n.outDuration,queue:!1,ease:"easeOutQuart"});var a={duration:n.outDuration,queue:!1,ease:"easeOutCubic",complete:function(){t(this).css({display:"none"}),"function"==typeof n.complete&&n.complete.call(this,r),o.remove(),e--}};r.hasClass("bottom-sheet")?r.velocity({bottom:"-100%",opacity:0},a):r.velocity({top:n.startingTop,opacity:0,scaleX:.7},a)},s=function(o){var s=t("body"),l=s.innerWidth();if(s.css("overflow","hidden"),s.width(l),!r.hasClass("open")){var u=i(),c=t('<div class="modal-overlay"></div>');lStack=++e,c.attr("id",u).css("z-index",1e3+2*lStack),r.data("overlay-id",u).css("z-index",1e3+2*lStack+1),r.addClass("open"),t("body").append(c),n.dismissible&&(c.click(function(){a()}),t(document).on("keyup.modal"+u,function(t){27===t.keyCode&&a()})),r.find(".modal-close").on("click.close",function(t){a()}),c.css({display:"block",opacity:0}),r.css({display:"block",opacity:0}),c.velocity({opacity:n.opacity},{duration:n.inDuration,queue:!1,ease:"easeOutCubic"}),r.data("associated-overlay",c[0]);var d={duration:n.inDuration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof n.ready&&n.ready.call(this,r,o)}};r.hasClass("bottom-sheet")?r.velocity({bottom:"0",opacity:1},d):(t.Velocity.hook(r,"scaleX",.7),r.css({top:n.startingTop}),r.velocity({top:n.endingTop,opacity:1,scaleX:"1"},d))}};t(document).off("click.modalTrigger",'a[href="#'+o+'"], [data-target="'+o+'"]'),t(this).off("openModal"),t(this).off("closeModal"),t(document).on("click.modalTrigger",'a[href="#'+o+'"], [data-target="'+o+'"]',function(e){n.startingTop=(t(this).offset().top-t(window).scrollTop())/1.15,s(t(this)),e.preventDefault()}),t(this).on("openModal",function(){t(this).attr("href")||t(this).data("target");s()}),t(this).on("closeModal",function(){a()})})},open:function(){t(this).trigger("openModal")},close:function(){t(this).trigger("closeModal")}};t.fn.modal=function(e){return r[e]?r[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist on jQuery.modal"):r.init.apply(this,arguments)}}(C),function(t){t.fn.materialbox=function(){return this.each(function(){function returnToOriginal(){r=!1;var n=a.parent(".material-placeholder"),s=(window.innerWidth,window.innerHeight,a.data("width")),u=a.data("height");a.velocity("stop",!0),t("#materialbox-overlay").velocity("stop",!0),t(".materialbox-caption").velocity("stop",!0),t("#materialbox-overlay").velocity({opacity:0},{duration:o,queue:!1,easing:"easeOutQuad",complete:function(){i=!1,t(this).remove()}}),a.velocity({width:s,height:u,left:0,top:0},{duration:o,queue:!1,easing:"easeOutQuad",complete:function(){n.css({height:"",width:"",position:"",top:"",left:""}),a.removeAttr("style"),a.attr("style",l),a.removeClass("active"),r=!0,e&&e.css("overflow","")}}),t(".materialbox-caption").velocity({opacity:0},{duration:o,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}})}if(!t(this).hasClass("initialized")){t(this).addClass("initialized");var e,n,i=!1,r=!0,o=200,a=t(this),s=t("<div></div>").addClass("material-placeholder"),l=a.attr("style");a.wrap(s),a.on("click",function(){var o=a.parent(".material-placeholder"),s=window.innerWidth,l=window.innerHeight,u=a.width(),c=a.height();if(!1===r)return returnToOriginal(),!1;if(i&&!0===r)return returnToOriginal(),!1;r=!1,a.addClass("active"),i=!0,o.css({width:o[0].getBoundingClientRect().width,height:o[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),e=void 0,n=o[0].parentNode;for(;null!==n&&!t(n).is(document);){var d=t(n);"visible"!==d.css("overflow")&&(d.css("overflow","visible"),e=void 0===e?d:e.add(d)),n=n.parentNode}a.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}).data("width",u).data("height",c);var f=t('<div id="materialbox-overlay"></div>').css({opacity:0}).click(function(){!0===r&&returnToOriginal()});a.before(f);var h=f[0].getBoundingClientRect();if(f.css({width:s,height:l,left:-1*h.left,top:-1*h.top}),f.velocity({opacity:1},{duration:275,queue:!1,easing:"easeOutQuad"}),""!==a.data("caption")){var p=t('<div class="materialbox-caption"></div>');p.text(a.data("caption")),t("body").append(p),p.css({display:"inline"}),p.velocity({opacity:1},{duration:275,queue:!1,easing:"easeOutQuad"})}var g=0,v=u/s,m=c/l,y=0,b=0;v>m?(g=c/u,y=.9*s,b=.9*s*g):(g=u/c,y=.9*l*g,b=.9*l),a.hasClass("responsive-img")?a.velocity({"max-width":y,width:u},{duration:0,queue:!1,complete:function(){a.css({left:0,top:0}).velocity({height:b,width:y,left:t(document).scrollLeft()+s/2-a.parent(".material-placeholder").offset().left-y/2,top:t(document).scrollTop()+l/2-a.parent(".material-placeholder").offset().top-b/2},{duration:275,queue:!1,easing:"easeOutQuad",complete:function(){r=!0}})}}):a.css("left",0).css("top",0).velocity({height:b,width:y,left:t(document).scrollLeft()+s/2-a.parent(".material-placeholder").offset().left-y/2,top:t(document).scrollTop()+l/2-a.parent(".material-placeholder").offset().top-b/2},{duration:275,queue:!1,easing:"easeOutQuad",complete:function(){r=!0}})}),t(window).scroll(function(){i&&returnToOriginal()}),t(document).keyup(function(t){27===t.keyCode&&!0===r&&i&&returnToOriginal()})}})},t(document).ready(function(){t(".materialboxed").materialbox()})}(C),function(t){t.fn.parallax=function(){var e=t(window).width();return this.each(function(n){function updateParallax(n){var r;r=e<601?i.height()>0?i.height():i.children("img").height():i.height()>0?i.height():500;var o=i.children("img").first(),a=o.height(),s=a-r,l=i.offset().top+r,u=i.offset().top,c=t(window).scrollTop(),d=window.innerHeight,f=c+d,h=(f-u)/(r+d),p=Math.round(s*h);n&&o.css("display","block"),l>c&&u<c+d&&o.css("transform","translate3D(-50%,"+p+"px, 0)")}var i=t(this);i.addClass("parallax"),i.children("img").one("load",function(){updateParallax(!0)}).each(function(){this.complete&&t(this).trigger("load")}),t(window).scroll(function(){e=t(window).width(),updateParallax(!1)}),t(window).resize(function(){e=t(window).width(),updateParallax(!1)})})}}(C),function(t){var e={init:function(e){var n={onShow:null,swipeable:!1,responsiveThreshold:1/0};e=t.extend(n,e);var i=Materialize.objectSelectorString(t(this));return this.each(function(n){var r,o,a,s,l,u=i+n,c=t(this),d=t(window).width(),f=c.find("li.tab a"),h=c.width(),p=t(),g=Math.max(h,c[0].scrollWidth)/f.length,v=prev_index=0,m=!1,y=function(t){return Math.ceil(h-t.position().left-t.outerWidth()-c.scrollLeft())},b=function(t){return Math.floor(t.position().left+c.scrollLeft())},w=function(t){v-t>=0?(s.velocity({right:y(r)},{duration:300,queue:!1,easing:"easeOutQuad"}),s.velocity({left:b(r)},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})):(s.velocity({left:b(r)},{duration:300,queue:!1,easing:"easeOutQuad"}),s.velocity({right:y(r)},{duration:300,queue:!1,easing:"easeOutQuad",delay:90}))};e.swipeable&&d>e.responsiveThreshold&&(e.swipeable=!1),r=t(f.filter('[href="'+location.hash+'"]')),0===r.length&&(r=t(this).find("li.tab a.active").first()),0===r.length&&(r=t(this).find("li.tab a").first()),r.addClass("active"),v=f.index(r),v<0&&(v=0),void 0!==r[0]&&(o=t(r[0].hash),o.addClass("active")),c.find(".indicator").length||c.append('<div class="indicator"></div>'),s=c.find(".indicator"),c.append(s),c.is(":visible")&&setTimeout(function(){s.css({right:y(r)}),s.css({left:b(r)})},0),t(window).off("resize.tabs-"+u).on("resize.tabs-"+u,function(){h=c.width(),g=Math.max(h,c[0].scrollWidth)/f.length,v<0&&(v=0),0!==g&&0!==h&&(s.css({right:y(r)}),s.css({left:b(r)}))}),e.swipeable?(f.each(function(){var e=t(Materialize.escapeHash(this.hash));e.addClass("carousel-item"),p=p.add(e)}),a=p.wrapAll('<div class="tabs-content carousel"></div>'),p.css("display",""),t(".tabs-content.carousel").carousel({fullWidth:!0,noWrap:!0,onCycleTo:function(t){if(!m){var e=v;v=a.index(t),r=f.eq(v),w(e)}}})):f.not(r).each(function(){t(Materialize.escapeHash(this.hash)).hide()}),c.off("click.tabs").on("click.tabs","a",function(n){if(t(this).parent().hasClass("disabled"))return void n.preventDefault();if(!t(this).attr("target")){m=!0,h=c.width(),g=Math.max(h,c[0].scrollWidth)/f.length,r.removeClass("active");var i=o;r=t(this),o=t(Materialize.escapeHash(this.hash)),f=c.find("li.tab a");r.position();r.addClass("active"),prev_index=v,v=f.index(t(this)),v<0&&(v=0),e.swipeable?p.length&&p.carousel("set",v):(void 0!==o&&(o.show(),o.addClass("active"),"function"==typeof e.onShow&&e.onShow.call(this,o)),void 0===i||i.is(o)||(i.hide(),i.removeClass("active"))),l=setTimeout(function(){m=!1},300),w(prev_index),n.preventDefault()}})})},select_tab:function(t){this.find('a[href="#'+t+'"]').trigger("click")}};t.fn.tabs=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.tabs"):e.init.apply(this,arguments)},t(document).ready(function(){t("ul.tabs").tabs()})}(C),function(t){t.fn.tooltip=function(n){var i={delay:350,tooltip:"",position:"bottom",html:!1};return"remove"===n?(this.each(function(){t("#"+t(this).attr("data-tooltip-id")).remove(),t(this).off("mouseenter.tooltip mouseleave.tooltip")}),!1):(n=t.extend(i,n),this.each(function(){var i=Materialize.guid(),r=t(this);r.attr("data-tooltip-id")&&t("#"+r.attr("data-tooltip-id")).remove(),r.attr("data-tooltip-id",i);var o,a,s,l,u,c,d=function(){o=r.attr("data-html")?"true"===r.attr("data-html"):n.html,a=r.attr("data-delay"),a=void 0===a||""===a?n.delay:a,s=r.attr("data-position"),s=void 0===s||""===s?n.position:s,l=r.attr("data-tooltip"),l=void 0===l||""===l?n.tooltip:l};d();u=function(){var e=t('<div class="material-tooltip"></div>');return l=o?t("<span></span>").html(l):t("<span></span>").text(l),e.append(l).appendTo(t("body")).attr("id",i),c=t('<div class="backdrop"></div>'),c.appendTo(e),e}(),r.off("mouseenter.tooltip mouseleave.tooltip");var f,h=!1;r.on({"mouseenter.tooltip":function(t){var n=function(){d(),h=!0,u.velocity("stop"),c.velocity("stop"),u.css({visibility:"visible",left:"0px",top:"0px"});var t,n,i,o=r.outerWidth(),a=r.outerHeight(),l=u.outerHeight(),f=u.outerWidth(),p="0px",g="0px",v=c[0].offsetWidth,m=c[0].offsetHeight,y=8,b=8,w=0;"top"===s?(t=r.offset().top-l-5,n=r.offset().left+o/2-f/2,i=e(n,t,f,l),p="-10px",c.css({bottom:0,left:0,borderRadius:"14px 14px 0 0",transformOrigin:"50% 100%",marginTop:l,marginLeft:f/2-v/2})):"left"===s?(t=r.offset().top+a/2-l/2,n=r.offset().left-f-5,i=e(n,t,f,l),g="-10px",c.css({top:"-7px",right:0,width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:l/2,marginLeft:f})):"right"===s?(t=r.offset().top+a/2-l/2,n=r.offset().left+o+5,i=e(n,t,f,l),g="+10px",c.css({top:"-7px",left:0,width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:l/2,marginLeft:"0px"})):(t=r.offset().top+r.outerHeight()+5,n=r.offset().left+o/2-f/2,i=e(n,t,f,l),p="+10px",c.css({top:0,left:0,marginLeft:f/2-v/2})),u.css({top:i.y,left:i.x}),y=Math.SQRT2*f/parseInt(v),b=Math.SQRT2*l/parseInt(m),w=Math.max(y,b),u.velocity({translateY:p,translateX:g},{duration:350,queue:!1}).velocity({opacity:1},{duration:300,delay:50,queue:!1}),c.css({visibility:"visible"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scaleX:w,scaleY:w},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})};f=setTimeout(n,a)},"mouseleave.tooltip":function(){h=!1,clearTimeout(f),setTimeout(function(){!0!==h&&(u.velocity({opacity:0,translateY:0,translateX:0},{duration:225,queue:!1}),c.velocity({opacity:0,scaleX:1,scaleY:1},{duration:225,queue:!1,complete:function(){c.css({visibility:"hidden"}),u.css({visibility:"hidden"}),h=!1}}))},225)}})}))};var e=function(e,n,i,r){var o=e,a=n;return o<0?o=4:o+i>window.innerWidth&&(o-=o+i-window.innerWidth),a<0?a=4:a+r>window.innerHeight+t(window).scrollTop&&(a-=a+r-window.innerHeight),{x:o,y:a}};t(document).ready(function(){t(".tooltipped").tooltip()})}(C),function(t){"use strict";function isWindow(t){return null!==t&&t===t.window}function getWindow(t){return isWindow(t)?t:9===t.nodeType&&t.defaultView}function offset(t){var e,n,i={top:0,left:0},r=t&&t.ownerDocument;return e=r.documentElement,void 0!==t.getBoundingClientRect&&(i=t.getBoundingClientRect()),n=getWindow(r),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}}function convertStyle(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e}function getWavesEffectElement(t){if(!1===r.allowEvent(t))return null;for(var e=null,n=t.target||t.srcElement;null!==n.parentElement;){if(!(n instanceof SVGElement||-1===n.className.indexOf("waves-effect"))){e=n;break}if(n.classList.contains("waves-effect")){e=n;break}n=n.parentElement}return e}function showEffect(e){var n=getWavesEffectElement(e);null!==n&&(i.show(e,n),"ontouchstart"in t&&(n.addEventListener("touchend",i.hide,!1),n.addEventListener("touchcancel",i.hide,!1)),n.addEventListener("mouseup",i.hide,!1),n.addEventListener("mouseleave",i.hide,!1))}var e=e||{},n=document.querySelectorAll.bind(document),i={duration:750,show:function(t,e){if(2===t.button)return!1;var n=e||this,r=document.createElement("div");r.className="waves-ripple",n.appendChild(r);var o=offset(n),a=t.pageY-o.top,s=t.pageX-o.left,l="scale("+n.clientWidth/100*10+")";"touches"in t&&(a=t.touches[0].pageY-o.top,s=t.touches[0].pageX-o.left),r.setAttribute("data-hold",Date.now()),r.setAttribute("data-scale",l),r.setAttribute("data-x",s),r.setAttribute("data-y",a);var u={top:a+"px",left:s+"px"};r.className=r.className+" waves-notransition",r.setAttribute("style",convertStyle(u)),r.className=r.className.replace("waves-notransition",""),u["-webkit-transform"]=l,u["-moz-transform"]=l,u["-ms-transform"]=l,u["-o-transform"]=l,u.transform=l,u.opacity="1",u["-webkit-transition-duration"]=i.duration+"ms",u["-moz-transition-duration"]=i.duration+"ms",u["-o-transition-duration"]=i.duration+"ms",u["transition-duration"]=i.duration+"ms",u["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",u["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",u["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",u["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",r.setAttribute("style",convertStyle(u))},hide:function(t){r.touchup(t);var e=this,n=(e.clientWidth,null),o=e.getElementsByClassName("waves-ripple");if(!(o.length>0))return!1;n=o[o.length-1];var a=n.getAttribute("data-x"),s=n.getAttribute("data-y"),l=n.getAttribute("data-scale"),u=Date.now()-Number(n.getAttribute("data-hold")),c=350-u;c<0&&(c=0),setTimeout(function(){var t={top:s+"px",left:a+"px",opacity:"0","-webkit-transition-duration":i.duration+"ms","-moz-transition-duration":i.duration+"ms","-o-transition-duration":i.duration+"ms","transition-duration":i.duration+"ms","-webkit-transform":l,"-moz-transform":l,"-ms-transform":l,"-o-transform":l,transform:l};n.setAttribute("style",convertStyle(t)),setTimeout(function(){try{e.removeChild(n)}catch(t){return!1}},i.duration)},c)},wrapInput:function(t){for(var e=0;e<t.length;e++){var n=t[e];if("input"===n.tagName.toLowerCase()){var i=n.parentNode;if("i"===i.tagName.toLowerCase()&&-1!==i.className.indexOf("waves-effect"))continue;var r=document.createElement("i");r.className=n.className+" waves-input-wrapper";var o=n.getAttribute("style");o||(o=""),r.setAttribute("style",o),n.className="waves-button-input",n.removeAttribute("style"),i.replaceChild(r,n),r.appendChild(n)}}}},r={touches:0,allowEvent:function(t){var e=!0;return"touchstart"===t.type?r.touches+=1:"touchend"===t.type||"touchcancel"===t.type?setTimeout(function(){r.touches>0&&(r.touches-=1)},500):"mousedown"===t.type&&r.touches>0&&(e=!1),e},touchup:function(t){r.allowEvent(t)}};e.displayEffect=function(e){e=e||{},"duration"in e&&(i.duration=e.duration),i.wrapInput(n(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",showEffect,!1),document.body.addEventListener("mousedown",showEffect,!1)},e.attach=function(e){"input"===e.tagName.toLowerCase()&&(i.wrapInput([e]),e=e.parentElement),"ontouchstart"in t&&e.addEventListener("touchstart",showEffect,!1),e.addEventListener("mousedown",showEffect,!1)},t.Waves=e,document.addEventListener("DOMContentLoaded",function(){e.displayEffect()},!1)}(window),Materialize.toast=function(t,e,n,i){n=n||"";var r=document.getElementById("toast-container");null===r&&(r=document.createElement("div"),r.id="toast-container",document.body.appendChild(r));var o=function(t){var e=document.createElement("div");if(e.classList.add("toast"),n)for(var r=n.split(" "),o=0,a=r.length;o<a;o++)e.classList.add(r[o]);("object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)?e.appendChild(t):t instanceof C?e.appendChild(t[0]):e.innerHTML=t;var s=new Hammer(e,{prevent_default:!1});return s.on("pan",function(t){var n=t.deltaX;e.classList.contains("panning")||e.classList.add("panning");var i=1-Math.abs(n/80);i<0&&(i=0),_(e,{left:n,opacity:i},{duration:50,queue:!1,easing:"easeOutQuad"})}),s.on("panend",function(t){var n=t.deltaX;Math.abs(n)>80?_(e,{marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof i&&i(),e.parentNode.removeChild(e)}}):(e.classList.remove("panning"),_(e,{left:0,opacity:1},{duration:300,easing:"easeOutExpo",queue:!1}))}),e}(t);t&&r.appendChild(o),o.style.opacity=0,_(o,{translateY:"-35px",opacity:1},{duration:300,easing:"easeOutCubic",queue:!1});var a,s=e;null!=s&&(a=setInterval(function(){null===o.parentNode&&window.clearInterval(a),o.classList.contains("panning")||(s-=20),s<=0&&(_(o,{opacity:0,marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof i&&i(),this[0].parentNode.removeChild(this[0])}}),window.clearInterval(a))},20))},function(t){var e={init:function(e){var n={menuWidth:300,edge:"left",closeOnClick:!1,draggable:!0};e=t.extend(n,e),t(this).each(function(){var n=t(this),i=n.attr("data-activates"),r=t("#"+i);300!=e.menuWidth&&r.css("width",e.menuWidth);var o=t('.drag-target[data-sidenav="'+i+'"]');e.draggable?(o.length&&o.remove(),o=t('<div class="drag-target"></div>').attr("data-sidenav",i),t("body").append(o)):o=t(),"left"==e.edge?(r.css("transform","translateX(-100%)"),o.css({left:0})):(r.addClass("right-aligned").css("transform","translateX(100%)"),o.css({right:0})),r.hasClass("fixed")&&window.innerWidth>992&&r.css("transform","translateX(0)"),r.hasClass("fixed")&&t(window).resize(function(){window.innerWidth>992?0!==t("#sidenav-overlay").length&&l?a(!0):r.css("transform","translateX(0%)"):!1===l&&("left"===e.edge?r.css("transform","translateX(-100%)"):r.css("transform","translateX(100%)"))}),!0===e.closeOnClick&&r.on("click.itemclick","a:not(.collapsible-header)",function(){a()});var a=function(n){s=!1,l=!1,t("body").css({overflow:"",width:""}),t("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),"left"===e.edge?(o.css({width:"",right:"",left:"0"}),r.velocity({translateX:"-100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===n&&(r.removeAttr("style"),r.css("width",e.menuWidth))}})):(o.css({width:"",right:"0",left:""}),r.velocity({translateX:"100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===n&&(r.removeAttr("style"),r.css("width",e.menuWidth))}}))},s=!1,l=!1;e.draggable&&(o.on("click",function(){l&&a()}),o.hammer({prevent_default:!1}).bind("pan",function(n){if("touch"==n.gesture.pointerType){var i=(n.gesture.direction,n.gesture.center.x),o=(n.gesture.center.y,n.gesture.velocityX,t("body")),s=t("#sidenav-overlay"),u=o.innerWidth();if(o.css("overflow","hidden"),o.width(u),0===s.length&&(s=t('<div id="sidenav-overlay"></div>'),s.css("opacity",0).click(function(){a()}),t("body").append(s)),"left"===e.edge&&(i>e.menuWidth?i=e.menuWidth:i<0&&(i=0)),"left"===e.edge)i<e.menuWidth/2?l=!1:i>=e.menuWidth/2&&(l=!0),r.css("transform","translateX("+(i-e.menuWidth)+"px)");else{i<window.innerWidth-e.menuWidth/2?l=!0:i>=window.innerWidth-e.menuWidth/2&&(l=!1);var c=i-e.menuWidth/2;c<0&&(c=0),r.css("transform","translateX("+c+"px)")}var d;"left"===e.edge?(d=i/e.menuWidth,s.velocity({opacity:d},{duration:10,queue:!1,easing:"easeOutQuad"})):(d=Math.abs((i-window.innerWidth)/e.menuWidth),s.velocity({opacity:d},{duration:10,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(n){if("touch"==n.gesture.pointerType){var i=t("#sidenav-overlay"),a=n.gesture.velocityX,u=n.gesture.center.x,c=u-e.menuWidth,d=u-e.menuWidth/2;c>0&&(c=0),d<0&&(d=0),s=!1,"left"===e.edge?l&&a<=.3||a<-.5?(0!==c&&r.velocity({translateX:[0,c]},{duration:300,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:0,left:""}),l=!0):(!l||a>.3)&&(t("body").css({overflow:"",width:""}),r.velocity({translateX:[-1*e.menuWidth-10,c]},{duration:200,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),o.css({width:"10px",right:"",left:0})):l&&a>=-.3||a>.5?(0!==d&&r.velocity({translateX:[0,d]},{duration:300,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:"",left:0}),l=!0):(!l||a<-.3)&&(t("body").css({overflow:"",width:""}),r.velocity({translateX:[e.menuWidth+10,d]},{duration:200,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),o.css({width:"10px",right:0,left:""}))}})),n.off("click.sidenav").on("click.sidenav",function(){if(!0===l)l=!1,s=!1,a();else{var n=t("body"),i=t('<div id="sidenav-overlay"></div>'),u=n.innerWidth();n.css("overflow","hidden"),n.width(u),t("body").append(o),"left"===e.edge?(o.css({width:"50%",right:0,left:""}),r.velocity({translateX:[0,-1*e.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})):(o.css({width:"50%",right:"",left:0}),r.velocity({translateX:[0,e.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})),i.css("opacity",0).click(function(){l=!1,s=!1,a(),i.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}})}),t("body").append(i),i.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){l=!0,s=!1}})}return!1})})},destroy:function(){var e=t("#sidenav-overlay"),n=t('.drag-target[data-sidenav="'+t(this).attr("data-activates")+'"]');e.trigger("click"),n.remove(),t(this).off("click"),e.remove()},show:function(){this.trigger("click")},hide:function(){t("#sidenav-overlay").trigger("click")}};t.fn.sideNav=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.sideNav"):e.init.apply(this,arguments)}}(C),function(t){function findElements(e,i,r,o){var a=t();return t.each(n,function(t,n){if(n.height()>0){var s=n.offset().top,l=n.offset().left,u=l+n.width(),c=s+n.height();!(l>i||u<o||s>r||c<e)&&a.push(n)}}),a}function onScroll(n){++o;var r=e.scrollTop(),s=e.scrollLeft(),l=s+e.width(),u=r+e.height(),c=findElements(r+a.top+n||200,l+a.right,u+a.bottom,s+a.left);t.each(c,function(t,e){"number"!=typeof e.data("scrollSpy:ticks")&&e.triggerHandler("scrollSpy:enter"),e.data("scrollSpy:ticks",o)}),t.each(i,function(t,e){var n=e.data("scrollSpy:ticks");"number"==typeof n&&n!==o&&(e.triggerHandler("scrollSpy:exit"),e.data("scrollSpy:ticks",null))}),i=c}function onWinSize(){e.trigger("scrollSpy:winSize")}var e=t(window),n=[],i=[],r=!1,o=0,a={top:0,right:0,bottom:0,left:0};t.scrollSpy=function(i,o){var s={throttle:100,scrollOffset:200};o=t.extend(s,o);var l=[];i=t(i),i.each(function(e,i){n.push(t(i)),t(i).data("scrollSpy:id",e),t('a[href="#'+t(i).attr("id")+'"]').click(function(e){e.preventDefault();var n=t(Materialize.escapeHash(this.hash)).offset().top+1;t("html, body").animate({scrollTop:n-o.scrollOffset},{duration:400,queue:!1,easing:"easeOutCubic"})})}),a.top=o.offsetTop||0,a.right=o.offsetRight||0,a.bottom=o.offsetBottom||0,a.left=o.offsetLeft||0;var u=Materialize.throttle(function(){onScroll(o.scrollOffset)},o.throttle||100),c=function(){t(document).ready(u)};return r||(e.on("scroll",c),e.on("resize",c),r=!0),setTimeout(c,0),i.on("scrollSpy:enter",function(){l=t.grep(l,function(t){return 0!=t.height()});var e=t(this);l[0]?(t('a[href="#'+l[0].attr("id")+'"]').removeClass("active"),e.data("scrollSpy:id")<l[0].data("scrollSpy:id")?l.unshift(t(this)):l.push(t(this))):l.push(t(this)),t('a[href="#'+l[0].attr("id")+'"]').addClass("active")}),i.on("scrollSpy:exit",function(){if(l=t.grep(l,function(t){return 0!=t.height()}),l[0]){t('a[href="#'+l[0].attr("id")+'"]').removeClass("active");var e=t(this);l=t.grep(l,function(t){return t.attr("id")!=e.attr("id")}),l[0]&&t('a[href="#'+l[0].attr("id")+'"]').addClass("active")}}),i},t.winSizeSpy=function(n){return t.winSizeSpy=function(){return e},n=n||{throttle:100},e.on("resize",Materialize.throttle(onWinSize,n.throttle||100))},t.fn.scrollSpy=function(e){return t.scrollSpy(t(this),e)}}(C),function(t){t(document).ready(function(){function textareaAutoResize(e){var i=e.css("font-family"),r=e.css("font-size"),o=e.css("line-height");r&&n.css("font-size",r),i&&n.css("font-family",i),o&&n.css("line-height",o),"off"===e.attr("wrap")&&n.css("overflow-wrap","normal").css("white-space","pre"),n.text(e.val()+"\n");var a=n.html().replace(/\n/g,"<br>");n.html(a),e.is(":visible")?n.css("width",e.width()):n.css("width",t(window).width()/2),e.data("original-height")<=n.height()?e.css("height",n.height()):e.val().length<e.data("previous-length")&&e.css("height",e.data("original-height")),e.data("previous-length",e.val().length)}Materialize.updateTextFields=function(){t("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea").each(function(e,n){var i=t(this);t(n).val().length>0||n.autofocus||void 0!==i.attr("placeholder")?i.siblings("label").addClass("active"):t(n)[0].validity?i.siblings("label").toggleClass("active",!0===t(n)[0].validity.badInput):i.siblings("label").removeClass("active")})};var e="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";t(document).on("change",e,function(){0===t(this).val().length&&void 0===t(this).attr("placeholder")||t(this).siblings("label").addClass("active"),validate_field(t(this))}),t(document).ready(function(){Materialize.updateTextFields()}),t(document).on("reset",function(n){var i=t(n.target);i.is("form")&&(i.find(e).removeClass("valid").removeClass("invalid"),i.find(e).each(function(){""===t(this).attr("value")&&t(this).siblings("label").removeClass("active")}),i.find("select.initialized").each(function(){var t=i.find("option[selected]").text();i.siblings("input.select-dropdown").val(t)}))}),t(document).on("focus",e,function(){t(this).siblings("label, .prefix").addClass("active")}),t(document).on("blur",e,function(){var e=t(this),n=".prefix";0===e.val().length&&!0!==e[0].validity.badInput&&void 0===e.attr("placeholder")&&(n+=", label"),e.siblings(n).removeClass("active"),validate_field(e)}),window.validate_field=function(t){var e=void 0!==t.attr("data-length"),n=parseInt(t.attr("data-length")),i=t.val().length;0===t.val().length&&!1===t[0].validity.badInput?t.hasClass("validate")&&(t.removeClass("valid"),t.removeClass("invalid")):t.hasClass("validate")&&(t.is(":valid")&&e&&i<=n||t.is(":valid")&&!e?(t.removeClass("invalid"),t.addClass("valid")):(t.removeClass("valid"),t.addClass("invalid")))};t(document).on("keyup.radio","input[type=radio], input[type=checkbox]",function(e){if(9===e.which){t(this).addClass("tabbed");return void t(this).one("blur",function(e){t(this).removeClass("tabbed")})}});var n=t(".hiddendiv").first();n.length||(n=t('<div class="hiddendiv common"></div>'),t("body").append(n));t(".materialize-textarea").each(function(){var e=t(this);e.data("original-height",e.height()),e.data("previous-length",e.val().length)}),t("body").on("keyup keydown autoresize",".materialize-textarea",function(){textareaAutoResize(t(this))}),t(document).on("change",'.file-field input[type="file"]',function(){for(var e=t(this).closest(".file-field"),n=e.find("input.file-path"),i=t(this)[0].files,r=[],o=0;o<i.length;o++)r.push(i[o].name);n.val(r.join(", ")),n.trigger("change")});var i="input[type=range]",r=!1;t(i).each(function(){var e=t('<span class="thumb"><span class="value"></span></span>');t(this).after(e)});var o=function(t){var e=parseInt(t.parent().css("padding-left")),n=-7+e+"px";t.velocity({height:"30px",width:"30px",top:"-30px",marginLeft:n},{duration:300,easing:"easeOutExpo"})},a=function(t){var e=t.width()-15,n=parseFloat(t.attr("max")),i=parseFloat(t.attr("min"));return(parseFloat(t.val())-i)/(n-i)*e};t(document).on("change",i,function(e){var n=t(this).siblings(".thumb");n.find(".value").html(t(this).val()),n.hasClass("active")||o(n);var i=a(t(this));n.addClass("active").css("left",i)}),t(document).on("mousedown touchstart",i,function(e){var n=t(this).siblings(".thumb");if(n.length<=0&&(n=t('<span class="thumb"><span class="value"></span></span>'),t(this).after(n)),n.find(".value").html(t(this).val()),r=!0,t(this).addClass("active"),n.hasClass("active")||o(n),"input"!==e.type){var i=a(t(this));n.addClass("active").css("left",i)}}),t(document).on("mouseup touchend",".range-field",function(){r=!1,t(this).removeClass("active")}),t(document).on("input mousemove touchmove",".range-field",function(e){var n=t(this).children(".thumb"),s=t(this).find(i);if(r){n.hasClass("active")||o(n);var l=a(s);n.addClass("active").css("left",l),n.find(".value").html(n.siblings(i).val())}}),t(document).on("mouseout touchleave",".range-field",function(){if(!r){var e=t(this).children(".thumb"),n=parseInt(t(this).css("padding-left")),i=7+n+"px";e.hasClass("active")&&e.velocity({height:"0",width:"0",top:"10px",marginLeft:i},{duration:100}),e.removeClass("active")}}),t.fn.autocomplete=function(e){var n={data:{},limit:1/0,onAutocomplete:null,minLength:1};return e=t.extend(n,e),this.each(function(){var n,i=t(this),r=e.data,o=0,a=-1,s=i.closest(".input-field");if(!t.isEmptyObject(r)){var l,u=t('<ul class="autocomplete-content dropdown-content"></ul>');s.length?(l=s.children(".autocomplete-content.dropdown-content").first(),l.length||s.append(u)):(l=i.next(".autocomplete-content.dropdown-content"),l.length||i.after(u)),l.length&&(u=l);var c=function(t,e){var n=e.find("img"),i=e.text().toLowerCase().indexOf(""+t.toLowerCase()),r=i+t.length-1,o=e.text().slice(0,i),a=e.text().slice(i,r+1),s=e.text().slice(r+1);e.html("<span>"+o+"<span class='highlight'>"+a+"</span>"+s+"</span>"),n.length&&e.prepend(n)},d=function(){a=-1,u.find(".active").removeClass("active")},f=function(){u.empty(),d(),n=void 0};i.off("blur.autocomplete").on("blur.autocomplete",function(){f()}),i.off("keyup.autocomplete focus.autocomplete").on("keyup.autocomplete focus.autocomplete",function(a){o=0;var s=i.val().toLowerCase();if(13!==a.which&&38!==a.which&&40!==a.which){if(n!==s&&(f(),s.length>=e.minLength))for(var l in r)if(r.hasOwnProperty(l)&&-1!==l.toLowerCase().indexOf(s)&&l.toLowerCase()!==s){if(o>=e.limit)break;var d=t("<li></li>");r[l]?d.append('<img src="'+r[l]+'" class="right circle"><span>'+l+"</span>"):d.append("<span>"+l+"</span>"),u.append(d),c(s,d),o++}n=s}}),i.off("keydown.autocomplete").on("keydown.autocomplete",function(t){var e,n=t.which,i=u.children("li").length,r=u.children(".active").first();if(13===n&&a>=0)return e=u.children("li").eq(a),void(e.length&&(e.trigger("mousedown.autocomplete"),t.preventDefault()));38!==n&&40!==n||(t.preventDefault(),38===n&&a>0&&a--,40===n&&a<i-1&&a++,r.removeClass("active"),a>=0&&u.children("li").eq(a).addClass("active"))}),u.on("mousedown.autocomplete touchstart.autocomplete","li",function(){var n=t(this).text().trim();i.val(n),i.trigger("change"),f(),"function"==typeof e.onAutocomplete&&e.onAutocomplete.call(this,n)})}})}}),t.fn.material_select=function(e){function toggleEntryFromArray(t,e,n){var i=t.indexOf(e),r=-1===i;return r?t.push(e):t.splice(i,1),n.siblings("ul.dropdown-content").find("li:not(.optgroup)").eq(e).toggleClass("active"),n.find("option").eq(e).prop("selected",r),setValueToInput(t,n),r}function setValueToInput(t,e){for(var n="",i=0,r=t.length;i<r;i++){var o=e.find("option").eq(t[i]).text();n+=0===i?o:", "+o}""===n&&(n=e.find("option:disabled").eq(0).text()),e.siblings("input.select-dropdown").val(n)}t(this).each(function(){var n=t(this);if(!n.hasClass("browser-default")){var i=!!n.attr("multiple"),r=n.data("select-id");if(r&&(n.parent().find("span.caret").remove(),n.parent().find("input").remove(),n.unwrap(),t("ul#select-options-"+r).remove()),"destroy"===e)return void n.data("select-id",null).removeClass("initialized");var o=Materialize.guid();n.data("select-id",o);var a=t('<div class="select-wrapper"></div>');a.addClass(n.attr("class"));var s=t('<ul id="select-options-'+o+'" class="dropdown-content select-dropdown '+(i?"multiple-select-dropdown":"")+'"></ul>'),l=n.children("option, optgroup"),u=[],c=!1,d=n.find("option:selected").html()||n.find("option:first").html()||"",f=function(e,n,r){var o=n.is(":disabled")?"disabled ":"",a="optgroup-option"===r?"optgroup-option ":"",l=i?'<input type="checkbox"'+o+"/><label></label>":"",u=n.data("icon"),c=n.attr("class");if(u){var d="";return c&&(d=' class="'+c+'"'),s.append(t('<li class="'+o+a+'"><img alt="" src="'+u+'"'+d+"><span>"+l+n.html()+"</span></li>")),!0}s.append(t('<li class="'+o+a+'"><span>'+l+n.html()+"</span></li>"))};l.length&&l.each(function(){if(t(this).is("option"))i?f(0,t(this),"multiple"):f(0,t(this));else if(t(this).is("optgroup")){var e=t(this).children("option");s.append(t('<li class="optgroup"><span>'+t(this).attr("label")+"</span></li>")),e.each(function(){f(0,t(this),"optgroup-option")})}}),s.find("li:not(.optgroup)").each(function(r){t(this).click(function(o){if(!t(this).hasClass("disabled")&&!t(this).hasClass("optgroup")){var a=!0;i?(t('input[type="checkbox"]',this).prop("checked",function(t,e){return!e}),a=toggleEntryFromArray(u,r,n),g.trigger("focus")):(s.find("li").removeClass("active"),t(this).toggleClass("active"),g.val(t(this).text())),v(s,t(this)),n.find("option").eq(r).prop("selected",a),n.trigger("change"),void 0!==e&&e()}o.stopPropagation()})}),n.wrap(a);var h=t('<span class="caret">▼</span>');n.is(":disabled")&&h.addClass("disabled");var p=d.replace(/"/g,"""),g=t('<input type="text" class="select-dropdown" readonly="true" '+(n.is(":disabled")?"disabled":"")+' data-activates="select-options-'+o+'" value="'+p+'"/>');n.before(g),g.before(h),g.after(s),n.is(":disabled")||g.dropdown({hover:!1}),n.attr("tabindex")&&t(g[0]).attr("tabindex",n.attr("tabindex")),n.addClass("initialized"),g.on({focus:function(){if(t("ul.select-dropdown").not(s[0]).is(":visible")&&t("input.select-dropdown").trigger("close"),!s.is(":visible")){t(this).trigger("open",["focus"]);var e=t(this).val();i&&e.indexOf(",")>=0&&(e=e.split(",")[0]);var n=s.find("li").filter(function(){return t(this).text().toLowerCase()===e.toLowerCase()})[0];v(s,n,!0)}},click:function(t){t.stopPropagation()}}),g.on("blur",function(){i||t(this).trigger("close"),s.find("li.selected").removeClass("selected")}),s.hover(function(){c=!0},function(){c=!1}),t(window).on({click:function(){i&&(c||g.trigger("close"))}}),i&&n.find("option:selected:not(:disabled)").each(function(){var e=t(this).index();toggleEntryFromArray(u,e,n),s.find("li").eq(e).find(":checkbox").prop("checked",!0)});var v=function(e,n,r){if(n){e.find("li.selected").removeClass("selected");var o=t(n);o.addClass("selected"),i&&!r||s.scrollTo(o)}},m=[],y=function(e){if(9==e.which)return void g.trigger("close");if(40==e.which&&!s.is(":visible"))return void g.trigger("open");if(13!=e.which||s.is(":visible")){e.preventDefault();var n=String.fromCharCode(e.which).toLowerCase(),r=[9,13,27,38,40];if(n&&-1===r.indexOf(e.which)){m.push(n);var o=m.join(""),a=s.find("li").filter(function(){return 0===t(this).text().toLowerCase().indexOf(o)})[0];a&&v(s,a)}if(13==e.which){var l=s.find("li.selected:not(.disabled)")[0];l&&(t(l).trigger("click"),i||g.trigger("close"))}40==e.which&&(a=s.find("li.selected").length?s.find("li.selected").next("li:not(.disabled)")[0]:s.find("li:not(.disabled)")[0],v(s,a)),27==e.which&&g.trigger("close"),38==e.which&&(a=s.find("li.selected").prev("li:not(.disabled)")[0])&&v(s,a),setTimeout(function(){m=[]},1e3)}};g.on("keydown",y)}})}}(C),function(t){var e={init:function(e){var n={indicators:!0,height:400,transition:500,interval:6e3};return e=t.extend(n,e),this.each(function(){function captionTransition(t,e){t.hasClass("center-align")?t.velocity({opacity:0,translateY:-100},{duration:e,queue:!1}):t.hasClass("right-align")?t.velocity({opacity:0,translateX:100},{duration:e,queue:!1}):t.hasClass("left-align")&&t.velocity({opacity:0,translateX:-100},{duration:e,queue:!1})}function moveToSlide(t){t>=s.length?t=0:t<0&&(t=s.length-1),(l=a.find(".active").index())!=t&&(n=s.eq(l),$caption=n.find(".caption"),n.removeClass("active"),n.velocity({opacity:0},{duration:e.transition,queue:!1,easing:"easeOutQuad",complete:function(){s.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),captionTransition($caption,e.transition),e.indicators&&i.eq(l).removeClass("active"),s.eq(t).velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),s.eq(t).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,delay:e.transition,queue:!1,easing:"easeOutQuad"}),s.eq(t).addClass("active"),e.indicators&&i.eq(t).addClass("active"))}var n,i,r,o=t(this),a=o.find("ul.slides").first(),s=a.find("> li"),l=a.find(".active").index();-1!=l&&(n=s.eq(l)),o.hasClass("fullscreen")||(e.indicators?o.height(e.height+40):o.height(e.height),a.height(e.height)),s.find(".caption").each(function(){captionTransition(t(this),0)}),s.find("img").each(function(){var e="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";t(this).attr("src")!==e&&(t(this).css("background-image","url("+t(this).attr("src")+")"),t(this).attr("src",e))}),e.indicators&&(i=t('<ul class="indicators"></ul>'),s.each(function(n){var o=t('<li class="indicator-item"></li>');o.click(function(){moveToSlide(a.parent().find(t(this)).index()),clearInterval(r),r=setInterval(function(){l=a.find(".active").index(),s.length==l+1?l=0:l+=1,moveToSlide(l)},e.transition+e.interval)}),i.append(o)}),o.append(i),i=o.find("ul.indicators").find("li.indicator-item")),n?n.show():(s.first().addClass("active").velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),l=0,n=s.eq(l),e.indicators&&i.eq(l).addClass("active")),n.find("img").each(function(){n.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,queue:!1,easing:"easeOutQuad"})}),r=setInterval(function(){l=a.find(".active").index(),moveToSlide(l+1)},e.transition+e.interval);var u=!1,c=!1,d=!1;o.hammer({prevent_default:!1}).bind("pan",function(t){if("touch"===t.gesture.pointerType){clearInterval(r);var e=t.gesture.direction,n=t.gesture.deltaX,i=t.gesture.velocityX,l=t.gesture.velocityY;$curr_slide=a.find(".active"),Math.abs(i)>Math.abs(l)&&$curr_slide.velocity({translateX:n},{duration:50,queue:!1,easing:"easeOutQuad"}),4===e&&(n>o.innerWidth()/2||i<-.65)?d=!0:2===e&&(n<-1*o.innerWidth()/2||i>.65)&&(c=!0);var u;c&&(u=$curr_slide.next(),0===u.length&&(u=s.first()),u.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"})),d&&(u=$curr_slide.prev(),0===u.length&&(u=s.last()),u.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(t){"touch"===t.gesture.pointerType&&($curr_slide=a.find(".active"),u=!1,curr_index=a.find(".active").index(),!d&&!c||s.length<=1?$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}):c?(moveToSlide(curr_index+1),$curr_slide.velocity({translateX:-1*o.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):d&&(moveToSlide(curr_index-1),$curr_slide.velocity({translateX:o.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})),c=!1,d=!1,clearInterval(r),r=setInterval(function(){l=a.find(".active").index(),s.length==l+1?l=0:l+=1,moveToSlide(l)},e.transition+e.interval))}),o.on("sliderPause",function(){clearInterval(r)}),o.on("sliderStart",function(){clearInterval(r),r=setInterval(function(){l=a.find(".active").index(),s.length==l+1?l=0:l+=1,moveToSlide(l)},e.transition+e.interval)}),o.on("sliderNext",function(){l=a.find(".active").index(),moveToSlide(l+1)}),o.on("sliderPrev",function(){l=a.find(".active").index(),moveToSlide(l-1)})})},pause:function(){t(this).trigger("sliderPause")},start:function(){t(this).trigger("sliderStart")},next:function(){t(this).trigger("sliderNext")},prev:function(){t(this).trigger("sliderPrev")}};t.fn.slider=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.tooltip"):e.init.apply(this,arguments)}}(C),function(t){t(document).ready(function(){t(document).on("click.card",".card",function(e){t(this).find("> .card-reveal").length&&(t(e.target).is(t(".card-reveal .card-title"))||t(e.target).is(t(".card-reveal .card-title i"))?t(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){t(this).css({display:"none"})}}):(t(e.target).is(t(".card .activator"))||t(e.target).is(t(".card .activator i")))&&(t(e.target).closest(".card").css("overflow","hidden"),t(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"})))})})}(C),function(t){var e={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{}};t(document).ready(function(){t(document).on("click",".chip .close",function(e){t(this).closest(".chips").attr("data-initialized")||t(this).closest(".chip").remove()})}),t.fn.material_chip=function(n){var i=this;if(this.$el=t(this),this.$document=t(document),this.SELS={CHIPS:".chips",CHIP:".chip",INPUT:"input",DELETE:".material-icons",SELECTED_CHIP:".selected"},"data"===n)return this.$el.data("chips");var r=t.extend({},e,n);i.hasAutocomplete=!t.isEmptyObject(r.autocompleteOptions.data),this.init=function(){var e=0;i.$el.each(function(){var n=t(this),o=Materialize.guid();i.chipId=o,r.data&&r.data instanceof Array||(r.data=[]),n.data("chips",r.data),n.attr("data-index",e),n.attr("data-initialized",!0),n.hasClass(i.SELS.CHIPS)||n.addClass("chips"),i.chips(n,o),e++})},this.handleEvents=function(){var e=i.SELS;i.$document.off("click.chips-focus",e.CHIPS).on("click.chips-focus",e.CHIPS,function(n){t(n.target).find(e.INPUT).focus()}),i.$document.off("click.chips-select",e.CHIP).on("click.chips-select",e.CHIP,function(n){var r=t(n.target);if(r.length){var o=r.hasClass("selected"),a=r.closest(e.CHIPS);t(e.CHIP).removeClass("selected"),o||i.selectChip(r.index(),a)}}),i.$document.off("keydown.chips").on("keydown.chips",function(n){if(!t(n.target).is("input, textarea")){var r,o=i.$document.find(e.CHIP+e.SELECTED_CHIP),a=o.closest(e.CHIPS),s=o.siblings(e.CHIP).length;if(o.length)if(8===n.which||46===n.which){n.preventDefault(),r=o.index(),i.deleteChip(r,a);var l=null;r+1<s?l=r:r!==s&&r+1!==s||(l=s-1),l<0&&(l=null),null!==l&&i.selectChip(l,a),s||a.find("input").focus()}else if(37===n.which){if((r=o.index()-1)<0)return;t(e.CHIP).removeClass("selected"),i.selectChip(r,a)}else if(39===n.which){if(r=o.index()+1,t(e.CHIP).removeClass("selected"),r>s)return void a.find("input").focus();i.selectChip(r,a)}}}),i.$document.off("focusin.chips",e.CHIPS+" "+e.INPUT).on("focusin.chips",e.CHIPS+" "+e.INPUT,function(n){var i=t(n.target).closest(e.CHIPS);i.addClass("focus"),i.siblings("label, .prefix").addClass("active"),t(e.CHIP).removeClass("selected")}),i.$document.off("focusout.chips",e.CHIPS+" "+e.INPUT).on("focusout.chips",e.CHIPS+" "+e.INPUT,function(n){var i=t(n.target).closest(e.CHIPS);i.removeClass("focus"),i.data("chips").length||i.siblings("label").removeClass("active"),i.siblings(".prefix").removeClass("active")}),i.$document.off("keydown.chips-add",e.CHIPS+" "+e.INPUT).on("keydown.chips-add",e.CHIPS+" "+e.INPUT,function(n){var r=t(n.target),o=r.closest(e.CHIPS),a=o.children(e.CHIP).length;if(13===n.which){if(i.hasAutocomplete&&o.find(".autocomplete-content.dropdown-content").length&&o.find(".autocomplete-content.dropdown-content").children().length)return;return n.preventDefault(),i.addChip({tag:r.val()},o),void r.val("")}if((8===n.keyCode||37===n.keyCode)&&""===r.val()&&a)return n.preventDefault(),i.selectChip(a-1,o),void r.blur()}),i.$document.off("click.chips-delete",e.CHIPS+" "+e.DELETE).on("click.chips-delete",e.CHIPS+" "+e.DELETE,function(n){var r=t(n.target),o=r.closest(e.CHIPS),a=r.closest(e.CHIP);n.stopPropagation(),i.deleteChip(a.index(),o),o.find("input").focus()})},this.chips=function(e,n){e.empty(),e.data("chips").forEach(function(t){e.append(i.renderChip(t))}),e.append(t('<input id="'+n+'" class="input" placeholder="">')),i.setPlaceholder(e);var o=e.next("label");o.length&&(o.attr("for",n),e.data("chips").length&&o.addClass("active"));var a=t("#"+n);i.hasAutocomplete&&(r.autocompleteOptions.onAutocomplete=function(t){i.addChip({tag:t},e),a.val(""),a.focus()},a.autocomplete(r.autocompleteOptions))},this.renderChip=function(e){if(e.tag){var n=t('<div class="chip"></div>');return n.text(e.tag),n.append(t('<i class="material-icons close">close</i>')),n}},this.setPlaceholder=function(t){t.data("chips").length&&r.placeholder?t.find("input").prop("placeholder",r.placeholder):!t.data("chips").length&&r.secondaryPlaceholder&&t.find("input").prop("placeholder",r.secondaryPlaceholder)},this.isValid=function(t,e){for(var n=t.data("chips"),i=!1,r=0;r<n.length;r++)if(n[r].tag===e.tag)return void(i=!0);return""!==e.tag&&!i},this.addChip=function(t,e){if(i.isValid(e,t)){for(var n=i.renderChip(t),r=[],o=e.data("chips"),a=0;a<o.length;a++)r.push(o[a]);r.push(t),e.data("chips",r),n.insertBefore(e.find("input")),e.trigger("chip.add",t),i.setPlaceholder(e)}},this.deleteChip=function(t,e){var n=e.data("chips")[t];e.find(".chip").eq(t).remove();for(var r=[],o=e.data("chips"),a=0;a<o.length;a++)a!==t&&r.push(o[a]);e.data("chips",r),e.trigger("chip.delete",n),i.setPlaceholder(e)},this.selectChip=function(t,e){var n=e.find(".chip").eq(t);n&&!1===n.hasClass("selected")&&(n.addClass("selected"),e.trigger("chip.select",e.data("chips")[t]))},this.getChipsElement=function(t,e){return e.eq(t)},this.init(),this.handleEvents()}}(C),function(t){t.fn.pushpin=function(e){var n={top:0,bottom:1/0,offset:0};return"remove"===e?(this.each(function(){(id=t(this).data("pushpin-id"))&&(t(window).off("scroll."+id),t(this).removeData("pushpin-id").removeClass("pin-top pinned pin-bottom").removeAttr("style"))}),!1):(e=t.extend(n,e),$index=0,this.each(function(){function removePinClasses(t){t.removeClass("pin-top"),t.removeClass("pinned"),t.removeClass("pin-bottom")}function updateElements(n,i){n.each(function(){e.top<=i&&e.bottom>=i&&!t(this).hasClass("pinned")&&(removePinClasses(t(this)),t(this).css("top",e.offset),t(this).addClass("pinned")),i<e.top&&!t(this).hasClass("pin-top")&&(removePinClasses(t(this)),t(this).css("top",0),t(this).addClass("pin-top")),i>e.bottom&&!t(this).hasClass("pin-bottom")&&(removePinClasses(t(this)),t(this).addClass("pin-bottom"),t(this).css("top",e.bottom-r))})}var n=Materialize.guid(),i=t(this),r=t(this).offset().top;t(this).data("pushpin-id",n),updateElements(i,t(window).scrollTop()),t(window).on("scroll."+n,function(){var n=t(window).scrollTop()+e.offset;updateElements(i,n)})}))}}(C),function(t){t(document).ready(function(){t.fn.reverse=[].reverse,t(document).on("mouseenter.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(n){var i=t(this);e(i)}),t(document).on("mouseleave.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(e){var i=t(this);n(i)}),t(document).on("click.fabClickToggle",".fixed-action-btn.click-to-toggle > a",function(i){var r=t(this),o=r.parent();o.hasClass("active")?n(o):e(o)}),t(document).on("click.fabToolbar",".fixed-action-btn.toolbar > a",function(e){var n=t(this),r=n.parent();i(r)})}),t.fn.extend({openFAB:function(){e(t(this))},closeFAB:function(){n(t(this))},openToolbar:function(){i(t(this))},closeToolbar:function(){r(t(this))}});var e=function(e){var n=e;if(!1===n.hasClass("active")){var i,r,o=n.hasClass("horizontal");!0===o?r=40:i=40,n.addClass("active"),n.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:i+"px",translateX:r+"px"},{duration:0});var a=0;n.find("ul .btn-floating").reverse().each(function(){t(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0",translateX:"0"},{duration:80,delay:a}),a+=40})}},n=function(t){var e,n,i=t,r=i.hasClass("horizontal");!0===r?n=40:e=40,i.removeClass("active");i.find("ul .btn-floating").velocity("stop",!0),i.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:e+"px",translateX:n+"px"},{duration:80})},i=function(e){if("true"!==e.attr("data-open")){var n,i,o,a=window.innerWidth,s=window.innerHeight,l=e[0].getBoundingClientRect(),u=e.find("> a").first(),c=e.find("> ul").first(),d=t('<div class="fab-backdrop"></div>'),f=u.css("background-color");u.append(d),n=l.left-a/2+l.width/2,i=s-l.bottom,o=a/d.width(),e.attr("data-origin-bottom",l.bottom),e.attr("data-origin-left",l.left),e.attr("data-origin-width",l.width),e.addClass("active"),e.attr("data-open",!0),e.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+n+"px)",transition:"none"}),u.css({transform:"translateY("+-i+"px)",transition:"none"}),d.css({"background-color":f}),setTimeout(function(){e.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),u.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout(function(){e.css({overflow:"hidden","background-color":f}),d.css({transform:"scale("+o+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),c.find("> li > a").css({opacity:1}),t(window).on("scroll.fabToolbarClose",function(){r(e),t(window).off("scroll.fabToolbarClose"),t(document).off("click.fabToolbarClose")}),t(document).on("click.fabToolbarClose",function(n){t(n.target).closest(c).length||(r(e),t(window).off("scroll.fabToolbarClose"),t(document).off("click.fabToolbarClose"))})},100)},0)}},r=function(t){if("true"===t.attr("data-open")){var e,n,i=window.innerWidth,r=window.innerHeight,o=t.attr("data-origin-width"),a=t.attr("data-origin-bottom"),s=t.attr("data-origin-left"),l=t.find("> .btn-floating").first(),u=t.find("> ul").first(),c=t.find(".fab-backdrop"),d=l.css("background-color");e=s-i/2+o/2,n=r-a,i/c.width(),t.removeClass("active"),t.attr("data-open",!1),t.css({"background-color":"transparent",transition:"none"}),l.css({transition:"none"}),c.css({transform:"scale(0)","background-color":d}),u.find("> li > a").css({opacity:""}),setTimeout(function(){c.remove(),t.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-e+"px,0,0)"}),l.css({overflow:"",transform:"translate3d(0,"+n+"px,0)"}),setTimeout(function(){t.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),l.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})},20)},200)}}}(C),function(t){Materialize.fadeInImage=function(e){var n;if("string"==typeof e)n=t(e);else{if("object"!=typeof e)return;n=e}n.css({opacity:0}),t(n).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),t(n).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(e,n){n.start=100;var i=e/100,r=150-(100-e)/1.75;r<100&&(r=100),e>=0&&t(this).css({"-webkit-filter":"grayscale("+i+")brightness("+r+"%)",filter:"grayscale("+i+")brightness("+r+"%)"})}})},Materialize.showStaggeredList=function(e){var n;if("string"==typeof e)n=t(e);else{if("object"!=typeof e)return;n=e}var i=0;n.find("li").velocity({translateX:"-100px"},{duration:0}),n.find("li").each(function(){t(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:i,easing:[60,10]}),i+=120})},t(document).ready(function(){var e=!1,n=!1;t(".dismissable").each(function(){t(this).hammer({prevent_default:!1}).bind("pan",function(i){if("touch"===i.gesture.pointerType){var r=t(this),o=i.gesture.direction,a=i.gesture.deltaX,s=i.gesture.velocityX;r.velocity({translateX:a},{duration:50,queue:!1,easing:"easeOutQuad"}),4===o&&(a>r.innerWidth()/2||s<-.75)&&(e=!0),2===o&&(a<-1*r.innerWidth()/2||s>.75)&&(n=!0)}}).bind("panend",function(i){if(Math.abs(i.gesture.deltaX)<t(this).innerWidth()/2&&(n=!1,e=!1),"touch"===i.gesture.pointerType){var r=t(this);if(e||n){var o;o=e?r.innerWidth():-1*r.innerWidth(),r.velocity({translateX:o},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){r.css("border","none"),r.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){r.remove()}})}})}else r.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"});e=!1,n=!1}})})})}(C),function(t){var e=!1;Materialize.scrollFire=function(t){var n=function(){for(var e=window.pageYOffset+window.innerHeight,n=0;n<t.length;n++){var i=t[n],r=i.selector,o=i.offset,a=i.callback,s=document.querySelector(r);if(null!==s){if(e>s.getBoundingClientRect().top+window.pageYOffset+o&&!0!==i.done){if("function"==typeof a)a.call(this,s);else if("string"==typeof a){var l=new Function(a);l(s)}i.done=!0}}}},i=Materialize.throttle(function(){n()},t.throttle||100);e||(window.addEventListener("scroll",i),window.addEventListener("resize",i),e=!0),setTimeout(i,0)}}(),function(t){b=[a(0)],h=t,T="function"==typeof h?h.apply(i,b):h}(function(t){function PickerConstructor(e,r,o,a){function createWrappedComponent(){return PickerConstructor._.node("div",PickerConstructor._.node("div",PickerConstructor._.node("div",PickerConstructor._.node("div",h.component.nodes(l.open),c.box),c.wrap),c.frame),c.holder)}function prepareElement(){d.data(r,h).addClass(c.input).attr("tabindex",-1).val(d.data("value")?h.get("select",u.format):e.value),u.editable||d.on("focus."+l.id+" click."+l.id,function(t){t.preventDefault(),h.$root.eq(0).focus()}).on("keydown."+l.id,handleKeydownEvent),aria(e,{haspopup:!0,expanded:!1,readonly:!1,owns:e.id+"_root"})}function prepareElementRoot(){h.$root.on({keydown:handleKeydownEvent,focusin:function(t){h.$root.removeClass(c.focused),t.stopPropagation()},"mousedown click":function(e){var n=e.target;n!=h.$root.children()[0]&&(e.stopPropagation(),"mousedown"!=e.type||t(n).is("input, select, textarea, button, option")||(e.preventDefault(),h.$root.eq(0).focus()))}}).on({focus:function(){d.addClass(c.target)},blur:function(){d.removeClass(c.target)}}).on("focus.toOpen",handleFocusToOpenEvent).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=t(this),n=e.data(),i=e.hasClass(c.navDisabled)||e.hasClass(c.disabled),r=getActiveElement();r=r&&(r.type||r.href),(i||r&&!t.contains(h.$root[0],r))&&h.$root.eq(0).focus(),!i&&n.nav?h.set("highlight",h.component.item.highlight,{nav:n.nav}):!i&&"pick"in n?h.set("select",n.pick):n.clear?h.clear().close(!0):n.close&&h.close(!0)}),aria(h.$root[0],"hidden",!0)}function prepareElementHidden(){var n;!0===u.hiddenName?(n=e.name,e.name=""):(n=["string"==typeof u.hiddenPrefix?u.hiddenPrefix:"","string"==typeof u.hiddenSuffix?u.hiddenSuffix:"_submit"],n=n[0]+e.name+n[1]),h._hidden=t('<input type=hidden name="'+n+'"'+(d.data("value")||e.value?' value="'+h.get("select",u.formatSubmit)+'"':"")+">")[0],d.on("change."+l.id,function(){h._hidden.value=e.value?h.get("select",u.formatSubmit):""}),u.container?t(u.container).append(h._hidden):d.after(h._hidden)}function handleKeydownEvent(t){var e=t.keyCode,n=/^(8|46)$/.test(e);if(27==e)return h.close(),!1;(32==e||n||!l.open&&h.component.key[e])&&(t.preventDefault(),t.stopPropagation(),n?h.clear().close():h.open())}function handleFocusToOpenEvent(t){t.stopPropagation(),"focus"==t.type&&h.$root.addClass(c.focused),h.open()}if(!e)return PickerConstructor;var s=!1,l={id:e.id||"P"+Math.abs(~~(Math.random()*new Date))},u=o?t.extend(!0,{},o.defaults,a):a||{},c=t.extend({},PickerConstructor.klasses(),u.klass),d=t(e),f=function(){return this.start()},h=f.prototype={constructor:f,$node:d,start:function(){return l&&l.start?h:(l.methods={},l.start=!0,l.open=!1,l.type=e.type,e.autofocus=e==getActiveElement(),e.readOnly=!u.editable,e.id=e.id||l.id,"text"!=e.type&&(e.type="text"),h.component=new o(h,u),h.$root=t(PickerConstructor._.node("div",createWrappedComponent(),c.picker,'id="'+e.id+'_root" tabindex="0"')),prepareElementRoot(),u.formatSubmit&&prepareElementHidden(),prepareElement(),u.container?t(u.container).append(h.$root):d.after(h.$root),h.on({start:h.component.onStart,render:h.component.onRender,stop:h.component.onStop,open:h.component.onOpen,close:h.component.onClose,set:h.component.onSet}).on({start:u.onStart,render:u.onRender,stop:u.onStop,open:u.onOpen,close:u.onClose,set:u.onSet}),s=isUsingDefaultTheme(h.$root.children()[0]),e.autofocus&&h.open(),h.trigger("start").trigger("render"))},render:function(t){return t?h.$root.html(createWrappedComponent()):h.$root.find("."+c.box).html(h.component.nodes(l.open)),h.trigger("render")},stop:function(){return l.start?(h.close(),h._hidden&&h._hidden.parentNode.removeChild(h._hidden),h.$root.remove(),d.removeClass(c.input).removeData(r),setTimeout(function(){d.off("."+l.id)},0),e.type=l.type,e.readOnly=!1,h.trigger("stop"),l.methods={},l.start=!1,h):h},open:function(r){return l.open?h:(d.addClass(c.active),aria(e,"expanded",!0),setTimeout(function(){h.$root.addClass(c.opened),aria(h.$root[0],"hidden",!1)},0),!1!==r&&(l.open=!0,s&&i.css("overflow","hidden").css("padding-right","+="+getScrollbarWidth()),h.$root.eq(0).focus(),n.on("click."+l.id+" focusin."+l.id,function(t){var n=t.target;n!=e&&n!=document&&3!=t.which&&h.close(n===h.$root.children()[0])}).on("keydown."+l.id,function(e){var n=e.keyCode,i=h.component.key[n],r=e.target;27==n?h.close(!0):r!=h.$root[0]||!i&&13!=n?t.contains(h.$root[0],r)&&13==n&&(e.preventDefault(),r.click()):(e.preventDefault(),i?PickerConstructor._.trigger(h.component.key.go,h,[PickerConstructor._.trigger(i)]):h.$root.find("."+c.highlighted).hasClass(c.disabled)||h.set("select",h.component.item.highlight).close())})),h.trigger("open"))},close:function(t){return t&&(h.$root.off("focus.toOpen").eq(0).focus(),setTimeout(function(){h.$root.on("focus.toOpen",handleFocusToOpenEvent)},0)),d.removeClass(c.active),aria(e,"expanded",!1),setTimeout(function(){h.$root.removeClass(c.opened+" "+c.focused),aria(h.$root[0],"hidden",!0)},0),l.open?(l.open=!1,s&&i.css("overflow","").css("padding-right","-="+getScrollbarWidth()),n.off("."+l.id),h.trigger("close")):h},clear:function(t){return h.set("clear",null,t)},set:function(e,n,i){var r,o,a=t.isPlainObject(e),s=a?e:{};if(i=a&&t.isPlainObject(n)?n:i||{},e){a||(s[e]=n);for(r in s)o=s[r],r in h.component.item&&(void 0===o&&(o=null),h.component.set(r,o,i)),"select"!=r&&"clear"!=r||d.val("clear"==r?"":h.get(r,u.format)).trigger("change");h.render()}return i.muted?h:h.trigger("set",s)},get:function(t,n){if(t=t||"value",null!=l[t])return l[t];if("valueSubmit"==t){if(h._hidden)return h._hidden.value;t="value"}if("value"==t)return e.value;if(t in h.component.item){if("string"==typeof n){var i=h.component.get(t);return i?PickerConstructor._.trigger(h.component.formats.toString,h.component,[n,i]):""}return h.component.get(t)}},on:function(e,n,i){var r,o,a=t.isPlainObject(e),s=a?e:{};if(e){a||(s[e]=n);for(r in s)o=s[r],i&&(r="_"+r),l.methods[r]=l.methods[r]||[],l.methods[r].push(o)}return h},off:function(){var t,e,n=arguments;for(t=0,namesCount=n.length;t<namesCount;t+=1)(e=n[t])in l.methods&&delete l.methods[e];return h},trigger:function(t,e){var n=function(t){var n=l.methods[t];n&&n.map(function(t){PickerConstructor._.trigger(t,h,[e])})};return n("_"+t),n(t),h}};return new f}function isUsingDefaultTheme(t){var e;return t.currentStyle?e=t.currentStyle.position:window.getComputedStyle&&(e=getComputedStyle(t).position),"fixed"==e}function getScrollbarWidth(){if(i.height()<=e.height())return 0;var n=t('<div style="visibility:hidden;width:100px" />').appendTo("body"),r=n[0].offsetWidth;n.css("overflow","scroll");var o=t('<div style="width:100%" />').appendTo(n),a=o[0].offsetWidth;return n.remove(),r-a}function aria(e,n,i){if(t.isPlainObject(n))for(var r in n)ariaSet(e,r,n[r]);else ariaSet(e,n,i)}function ariaSet(t,e,n){t.setAttribute(("role"==e?"":"aria-")+e,n)}function ariaAttr(e,n){t.isPlainObject(e)||(e={attribute:n}),n="";for(var i in e){var r=("role"==i?"":"aria-")+i;n+=null==e[i]?"":r+'="'+e[i]+'"'}return n}function getActiveElement(){try{return document.activeElement}catch(t){}}var e=t(window),n=t(document),i=t(document.documentElement);return PickerConstructor.klasses=function(t){return t=t||"picker",{picker:t,opened:t+"--opened",focused:t+"--focused",input:t+"__input",active:t+"__input--active",target:t+"__input--target",holder:t+"__holder",frame:t+"__frame",wrap:t+"__wrap",box:t+"__box"}},PickerConstructor._={group:function(t){for(var e,n="",i=PickerConstructor._.trigger(t.min,t);i<=PickerConstructor._.trigger(t.max,t,[i]);i+=t.i)e=PickerConstructor._.trigger(t.item,t,[i]),n+=PickerConstructor._.node(t.node,e[0],e[1],e[2]);return n},node:function(e,n,i,r){return n?(n=t.isArray(n)?n.join(""):n,i=i?' class="'+i+'"':"",r=r?" "+r:"","<"+e+i+r+">"+n+"</"+e+">"):""},lead:function(t){return(t<10?"0":"")+t},trigger:function(t,e,n){return"function"==typeof t?t.apply(e,n||[]):t},digits:function(t){return/\d/.test(t[1])?2:1},isDate:function(t){return{}.toString.call(t).indexOf("Date")>-1&&this.isInteger(t.getDate())},isInteger:function(t){return{}.toString.call(t).indexOf("Number")>-1&&t%1==0},ariaAttr:ariaAttr},PickerConstructor.extend=function(e,n){t.fn[e]=function(i,r){var o=this.data(e);return"picker"==i?o:o&&"string"==typeof i?PickerConstructor._.trigger(o[i],o,[r]):this.each(function(){t(this).data(e)||new PickerConstructor(this,e,n,i)})},t.fn[e].defaults=n.defaults},PickerConstructor}),function(t){b=[T,a(0)],h=t,void 0!==(g="function"==typeof h?h.apply(i,b):h)&&(e.exports=g)}(function(t,e){function DatePicker(t,e){var n=this,i=t.$node[0],r=i.value,o=t.$node.data("value"),a=o||r,s=o?e.formatSubmit:e.format,l=function(){return i.currentStyle?"rtl"==i.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};n.settings=e,n.$node=t.$node,n.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},n.item={},n.item.clear=null,n.item.disable=(e.disable||[]).slice(0),n.item.enable=-function(t){return!0===t[0]?t.shift():-1}(n.item.disable),n.set("min",e.min).set("max",e.max).set("now"),a?n.set("select",a,{format:s}):n.set("select",null).set("highlight",n.item.now),n.key={40:7,38:-7,39:function(){return l()?-1:1},37:function(){return l()?1:-1},go:function(t){var e=n.item.highlight,i=new Date(e.year,e.month,e.date+t);n.set("highlight",i,{interval:t}),this.render()}},t.on("render",function(){t.$root.find("."+e.klass.selectMonth).on("change",function(){var n=this.value;n&&(t.set("highlight",[t.get("view").year,n,t.get("highlight").date]),t.$root.find("."+e.klass.selectMonth).trigger("focus"))}),t.$root.find("."+e.klass.selectYear).on("change",function(){var n=this.value;n&&(t.set("highlight",[n,t.get("view").month,t.get("highlight").date]),t.$root.find("."+e.klass.selectYear).trigger("focus"))})},1).on("open",function(){var i="";n.disabled(n.get("now"))&&(i=":not(."+e.klass.buttonToday+")"),t.$root.find("button"+i+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}var n=t._;DatePicker.prototype.set=function(t,e,n){var i=this,r=i.item;return null===e?("clear"==t&&(t="select"),r[t]=e,i):(r["enable"==t?"disable":"flip"==t?"enable":t]=i.queue[t].split(" ").map(function(r){return e=i[r](t,e,n)}).pop(),"select"==t?i.set("highlight",r.select,n):"highlight"==t?i.set("view",r.highlight,n):t.match(/^(flip|min|max|disable|enable)$/)&&(r.select&&i.disabled(r.select)&&i.set("select",r.select,n),r.highlight&&i.disabled(r.highlight)&&i.set("highlight",r.highlight,n)),i)},DatePicker.prototype.get=function(t){return this.item[t]},DatePicker.prototype.create=function(t,i,r){var o,a=this;return i=void 0===i?t:i,i==-1/0||i==1/0?o=i:e.isPlainObject(i)&&n.isInteger(i.pick)?i=i.obj:e.isArray(i)?(i=new Date(i[0],i[1],i[2]),i=n.isDate(i)?i:a.create().obj):i=n.isInteger(i)||n.isDate(i)?a.normalize(new Date(i),r):a.now(t,i,r),{year:o||i.getFullYear(),month:o||i.getMonth(),date:o||i.getDate(),day:o||i.getDay(),obj:o||i,pick:o||i.getTime()}},DatePicker.prototype.createRange=function(t,i){var r=this,o=function(t){return!0===t||e.isArray(t)||n.isDate(t)?r.create(t):t};return n.isInteger(t)||(t=o(t)),n.isInteger(i)||(i=o(i)),n.isInteger(t)&&e.isPlainObject(i)?t=[i.year,i.month,i.date+t]:n.isInteger(i)&&e.isPlainObject(t)&&(i=[t.year,t.month,t.date+i]),{from:o(t),to:o(i)}},DatePicker.prototype.withinRange=function(t,e){return t=this.createRange(t.from,t.to),e.pick>=t.from.pick&&e.pick<=t.to.pick},DatePicker.prototype.overlapRanges=function(t,e){var n=this;return t=n.createRange(t.from,t.to),e=n.createRange(e.from,e.to),n.withinRange(t,e.from)||n.withinRange(t,e.to)||n.withinRange(e,t.from)||n.withinRange(e,t.to)},DatePicker.prototype.now=function(t,e,n){return e=new Date,n&&n.rel&&e.setDate(e.getDate()+n.rel),this.normalize(e,n)},DatePicker.prototype.navigate=function(t,n,i){var r,o,a,s,l=e.isArray(n),u=e.isPlainObject(n),c=this.item.view;if(l||u){for(u?(o=n.year,a=n.month,s=n.date):(o=+n[0],a=+n[1],s=+n[2]),i&&i.nav&&c&&c.month!==a&&(o=c.year,a=c.month),r=new Date(o,a+(i&&i.nav?i.nav:0),1),o=r.getFullYear(),a=r.getMonth();new Date(o,a,s).getMonth()!==a;)s-=1;n=[o,a,s]}return n},DatePicker.prototype.normalize=function(t){return t.setHours(0,0,0,0),t},DatePicker.prototype.measure=function(t,e){var i=this;return e?"string"==typeof e?e=i.parse(t,e):n.isInteger(e)&&(e=i.now(t,e,{rel:e})):e="min"==t?-1/0:1/0,e},DatePicker.prototype.viewset=function(t,e){return this.create([e.year,e.month,1])},DatePicker.prototype.validate=function(t,i,r){var o,a,s,l,u=this,c=i,d=r&&r.interval?r.interval:1,f=-1===u.item.enable,h=u.item.min,p=u.item.max,g=f&&u.item.disable.filter(function(t){if(e.isArray(t)){var r=u.create(t).pick;r<i.pick?o=!0:r>i.pick&&(a=!0)}return n.isInteger(t)}).length;if((!r||!r.nav)&&(!f&&u.disabled(i)||f&&u.disabled(i)&&(g||o||a)||!f&&(i.pick<=h.pick||i.pick>=p.pick)))for(f&&!g&&(!a&&d>0||!o&&d<0)&&(d*=-1);u.disabled(i)&&(Math.abs(d)>1&&(i.month<c.month||i.month>c.month)&&(i=c,d=d>0?1:-1),i.pick<=h.pick?(s=!0,d=1,i=u.create([h.year,h.month,h.date+(i.pick===h.pick?0:-1)])):i.pick>=p.pick&&(l=!0,d=-1,i=u.create([p.year,p.month,p.date+(i.pick===p.pick?0:1)])),!s||!l);)i=u.create([i.year,i.month,i.date+d]);return i},DatePicker.prototype.disabled=function(t){var i=this,r=i.item.disable.filter(function(r){return n.isInteger(r)?t.day===(i.settings.firstDay?r:r-1)%7:e.isArray(r)||n.isDate(r)?t.pick===i.create(r).pick:e.isPlainObject(r)?i.withinRange(r,t):void 0});return r=r.length&&!r.filter(function(t){return e.isArray(t)&&"inverted"==t[3]||e.isPlainObject(t)&&t.inverted}).length,-1===i.item.enable?!r:r||t.pick<i.item.min.pick||t.pick>i.item.max.pick},DatePicker.prototype.parse=function(t,e,i){var r=this,o={};return e&&"string"==typeof e?(i&&i.format||(i=i||{},i.format=r.settings.format),r.formats.toArray(i.format).map(function(t){var i=r.formats[t],a=i?n.trigger(i,r,[e,o]):t.replace(/^!/,"").length;i&&(o[t]=e.substr(0,a)),e=e.substr(a)}),[o.yyyy||o.yy,+(o.mm||o.m)-1,o.dd||o.d]):e},DatePicker.prototype.formats=function(){function getWordLengthFromCollection(t,e,n){var i=t.match(/\w+/)[0];return n.mm||n.m||(n.m=e.indexOf(i)+1),i.length}function getFirstWordLength(t){return t.match(/\w+/)[0].length}return{d:function(t,e){return t?n.digits(t):e.date},dd:function(t,e){return t?2:n.lead(e.date)},ddd:function(t,e){return t?getFirstWordLength(t):this.settings.weekdaysShort[e.day]},dddd:function(t,e){return t?getFirstWordLength(t):this.settings.weekdaysFull[e.day]},m:function(t,e){return t?n.digits(t):e.month+1},mm:function(t,e){return t?2:n.lead(e.month+1)},mmm:function(t,e){var n=this.settings.monthsShort;return t?getWordLengthFromCollection(t,n,e):n[e.month]},mmmm:function(t,e){var n=this.settings.monthsFull;return t?getWordLengthFromCollection(t,n,e):n[e.month]},yy:function(t,e){return t?2:(""+e.year).slice(2)},yyyy:function(t,e){return t?4:e.year},toArray:function(t){return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(t,e){var i=this;return i.formats.toArray(t).map(function(t){return n.trigger(i.formats[t],i,[0,e])||t.replace(/^!/,"")}).join("")}}}(),DatePicker.prototype.isDateExact=function(t,i){var r=this;return n.isInteger(t)&&n.isInteger(i)||"boolean"==typeof t&&"boolean"==typeof i?t===i:(n.isDate(t)||e.isArray(t))&&(n.isDate(i)||e.isArray(i))?r.create(t).pick===r.create(i).pick:!(!e.isPlainObject(t)||!e.isPlainObject(i))&&(r.isDateExact(t.from,i.from)&&r.isDateExact(t.to,i.to))},DatePicker.prototype.isDateOverlap=function(t,i){var r=this,o=r.settings.firstDay?1:0;return n.isInteger(t)&&(n.isDate(i)||e.isArray(i))?(t=t%7+o)===r.create(i).day+1:n.isInteger(i)&&(n.isDate(t)||e.isArray(t))?(i=i%7+o)===r.create(t).day+1:!(!e.isPlainObject(t)||!e.isPlainObject(i))&&r.overlapRanges(t,i)},DatePicker.prototype.flipEnable=function(t){var e=this.item;e.enable=t||(-1==e.enable?1:-1)},DatePicker.prototype.deactivate=function(t,i){var r=this,o=r.item.disable.slice(0);return"flip"==i?r.flipEnable():!1===i?(r.flipEnable(1),o=[]):!0===i?(r.flipEnable(-1),o=[]):i.map(function(t){for(var i,a=0;a<o.length;a+=1)if(r.isDateExact(t,o[a])){i=!0;break}i||(n.isInteger(t)||n.isDate(t)||e.isArray(t)||e.isPlainObject(t)&&t.from&&t.to)&&o.push(t)}),o},DatePicker.prototype.activate=function(t,i){var r=this,o=r.item.disable,a=o.length;return"flip"==i?r.flipEnable():!0===i?(r.flipEnable(1),o=[]):!1===i?(r.flipEnable(-1),o=[]):i.map(function(t){var i,s,l,u;for(l=0;l<a;l+=1){if(s=o[l],r.isDateExact(s,t)){i=o[l]=null,u=!0;break}if(r.isDateOverlap(s,t)){e.isPlainObject(t)?(t.inverted=!0,i=t):e.isArray(t)?(i=t,i[3]||i.push("inverted")):n.isDate(t)&&(i=[t.getFullYear(),t.getMonth(),t.getDate(),"inverted"]);break}}if(i)for(l=0;l<a;l+=1)if(r.isDateExact(o[l],t)){o[l]=null;break}if(u)for(l=0;l<a;l+=1)if(r.isDateOverlap(o[l],t)){o[l]=null;break}i&&o.push(i)}),o.filter(function(t){return null!=t})},DatePicker.prototype.nodes=function(t){var e=this,i=e.settings,r=e.item,o=r.now,a=r.select,s=r.highlight,l=r.view,u=r.disable,c=r.min,d=r.max,f=function(t,e){return i.firstDay&&(t.push(t.shift()),e.push(e.shift())),n.node("thead",n.node("tr",n.group({min:0,max:6,i:1,node:"th",item:function(n){return[t[n],i.klass.weekdays,'scope=col title="'+e[n]+'"']}})))}((i.showWeekdaysFull?i.weekdaysFull:i.weekdaysLetter).slice(0),i.weekdaysFull.slice(0)),h=function(t){return n.node("div"," ",i.klass["nav"+(t?"Next":"Prev")]+(t&&l.year>=d.year&&l.month>=d.month||!t&&l.year<=c.year&&l.month<=c.month?" "+i.klass.navDisabled:""),"data-nav="+(t||-1)+" "+n.ariaAttr({role:"button",controls:e.$node[0].id+"_table"})+' title="'+(t?i.labelMonthNext:i.labelMonthPrev)+'"')},p=function(r){var o=i.showMonthsShort?i.monthsShort:i.monthsFull;return"short_months"==r&&(o=i.monthsShort),i.selectMonths&&void 0==r?n.node("select",n.group({min:0,max:11,i:1,node:"option",item:function(t){return[o[t],0,"value="+t+(l.month==t?" selected":"")+(l.year==c.year&&t<c.month||l.year==d.year&&t>d.month?" disabled":"")]}}),i.klass.selectMonth+" browser-default",(t?"":"disabled")+" "+n.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelMonthSelect+'"'):"short_months"==r?null!=a?n.node("div",o[a.month]):n.node("div",o[l.month]):n.node("div",o[l.month],i.klass.month)},g=function(r){var o=l.year,a=!0===i.selectYears?5:~~(i.selectYears/2);if(a){var s=c.year,u=d.year,f=o-a,h=o+a;if(s>f&&(h+=s-f,f=s),u<h){var p=f-s,g=h-u;f-=p>g?g:p,h=u}if(i.selectYears&&void 0==r)return n.node("select",n.group({min:f,max:h,i:1,node:"option",item:function(t){return[t,0,"value="+t+(o==t?" selected":"")]}}),i.klass.selectYear+" browser-default",(t?"":"disabled")+" "+n.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelYearSelect+'"')}return"raw"==r?n.node("div",o):n.node("div",o,i.klass.year)};return createDayLabel=function(){return null!=a?n.node("div",a.date):n.node("div",o.date)},createWeekdayLabel=function(){var t;return t=null!=a?a.day:o.day,i.weekdaysFull[t]},n.node("div",n.node("div",createWeekdayLabel(),"picker__weekday-display")+n.node("div",p("short_months"),i.klass.month_display)+n.node("div",createDayLabel(),i.klass.day_display)+n.node("div",g("raw"),i.klass.year_display),i.klass.date_display)+n.node("div",n.node("div",(i.selectYears,p()+g()+h()+h(1)),i.klass.header)+n.node("table",f+n.node("tbody",n.group({min:0,max:5,i:1,node:"tr",item:function(t){var r=i.firstDay&&0===e.create([l.year,l.month,1]).day?-7:0;return[n.group({min:7*t-l.day+r+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(t){t=e.create([l.year,l.month,t+(i.firstDay?1:0)]);var r=a&&a.pick==t.pick,f=s&&s.pick==t.pick,h=u&&e.disabled(t)||t.pick<c.pick||t.pick>d.pick,p=n.trigger(e.formats.toString,e,[i.format,t]);return[n.node("div",t.date,function(e){return e.push(l.month==t.month?i.klass.infocus:i.klass.outfocus),o.pick==t.pick&&e.push(i.klass.now),r&&e.push(i.klass.selected),f&&e.push(i.klass.highlighted),h&&e.push(i.klass.disabled),e.join(" ")}([i.klass.day]),"data-pick="+t.pick+" "+n.ariaAttr({role:"gridcell",label:p,selected:!(!r||e.$node.val()!==p)||null,activedescendant:!!f||null,disabled:!!h||null})),"",n.ariaAttr({role:"presentation"})]}})]}})),i.klass.table,'id="'+e.$node[0].id+'_table" '+n.ariaAttr({role:"grid",controls:e.$node[0].id,readonly:!0})),i.klass.calendar_container)+n.node("div",n.node("button",i.today,"btn-flat picker__today","type=button data-pick="+o.pick+(t&&!e.disabled(o)?"":" disabled")+" "+n.ariaAttr({controls:e.$node[0].id}))+n.node("button",i.clear,"btn-flat picker__clear","type=button data-clear=1"+(t?"":" disabled")+" "+n.ariaAttr({controls:e.$node[0].id}))+n.node("button",i.close,"btn-flat picker__close","type=button data-close=true "+(t?"":" disabled")+" "+n.ariaAttr({controls:e.$node[0].id})),i.klass.footer)},DatePicker.defaults=function(t){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Close",format:"d mmmm, yyyy",klass:{table:t+"table",header:t+"header",date_display:t+"date-display",day_display:t+"day-display",month_display:t+"month-display",year_display:t+"year-display",calendar_container:t+"calendar-container",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}}}(t.klasses().picker+"__"),t.extend("pickadate",DatePicker)}),function(t){function updateCounter(){var e=+t(this).attr("data-length"),n=+t(this).val().length,i=n<=e;t(this).parent().find('span[class="character-counter"]').html(n+"/"+e),addInputStyle(i,t(this))}function addCounterElement(e){var n=e.parent().find('span[class="character-counter"]');n.length||(n=t("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),e.parent().append(n))}function removeCounterElement(){t(this).parent().find('span[class="character-counter"]').html("")}function addInputStyle(t,e){var n=e.hasClass("invalid");t&&n?e.removeClass("invalid"):t||n||(e.removeClass("valid"),e.addClass("invalid"))}t.fn.characterCounter=function(){return this.each(function(){var e=t(this);e.parent().find('span[class="character-counter"]').length||void 0!==e.attr("data-length")&&(e.on("input",updateCounter),e.on("focus",updateCounter),e.on("blur",removeCounterElement),addCounterElement(e))})},t(document).ready(function(){t("input, textarea").characterCounter()})}(C),function(t){var e={init:function(e){var n={duration:200,dist:-100,shift:0,padding:0,fullWidth:!1,indicators:!1,noWrap:!1,onCycleTo:null};e=t.extend(n,e);var i=Materialize.objectSelectorString(t(this));return this.each(function(n){function xpos(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function ypos(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function wrap(t){return t>=d?t%d:t<0?wrap(d+t%d):t}function scroll(n){m=!0,A.hasClass("scrolling")||A.addClass("scrolling"),null!=_&&window.clearTimeout(_),_=window.setTimeout(function(){m=!1,A.removeClass("scrolling")},e.duration);var i,u,f,h,p,g,v,y=l;if(s="number"==typeof n?n:s,l=Math.floor((s+c/2)/c),f=s-l*c,h=f<0?1:-1,p=-h*f*2/c,u=d>>1,e.fullWidth?v="translateX(0)":(v="translateX("+(A[0].clientWidth-o)/2+"px) ",v+="translateY("+(A[0].clientHeight-a)/2+"px)"),P){var w=l%d,x=S.find(".indicator-item.active");x.index()!==w&&(x.removeClass("active"),S.find(".indicator-item").eq(w).addClass("active"))}for((!e.noWrap||l>=0&&l<d)&&(g=r[wrap(l)],t(g).hasClass("active")||(A.find(".carousel-item").removeClass("active"),t(g).addClass("active")),g.style[b]=v+" translateX("+-f/2+"px) translateX("+h*e.shift*p*i+"px) translateZ("+e.dist*p+"px)",g.style.zIndex=0,e.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*p,g.style.opacity=tweenedOpacity,g.style.display="block"),i=1;i<=u;++i)e.fullWidth?(zTranslation=e.dist,tweenedOpacity=i===u&&f<0?1-p:1):(zTranslation=e.dist*(2*i+p*h),tweenedOpacity=1-.2*(2*i+p*h)),(!e.noWrap||l+i<d)&&(g=r[wrap(l+i)],g.style[b]=v+" translateX("+(e.shift+(c*i-f)/2)+"px) translateZ("+zTranslation+"px)",g.style.zIndex=-i,g.style.opacity=tweenedOpacity,g.style.display="block"),e.fullWidth?(zTranslation=e.dist,tweenedOpacity=i===u&&f>0?1-p:1):(zTranslation=e.dist*(2*i-p*h),tweenedOpacity=1-.2*(2*i-p*h)),(!e.noWrap||l-i>=0)&&(g=r[wrap(l-i)],g.style[b]=v+" translateX("+(-e.shift+(-c*i-f)/2)+"px) translateZ("+zTranslation+"px)",g.style.zIndex=-i,g.style.opacity=tweenedOpacity,g.style.display="block");if((!e.noWrap||l>=0&&l<d)&&(g=r[wrap(l)],g.style[b]=v+" translateX("+-f/2+"px) translateX("+h*e.shift*p+"px) translateZ("+e.dist*p+"px)",g.style.zIndex=0,e.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*p,g.style.opacity=tweenedOpacity,g.style.display="block"),y!==l&&"function"==typeof e.onCycleTo){var T=A.find(".carousel-item").eq(wrap(l));e.onCycleTo.call(this,T,C)}}function track(){var t,e,n,i;t=Date.now(),e=t-x,x=t,n=s-w,w=s,i=1e3*n/(1+e),v=.8*i+.2*v}function autoScroll(){var t,n;p&&(t=Date.now()-x,n=p*Math.exp(-t/e.duration),n>2||n<-2?(scroll(g-n),requestAnimationFrame(autoScroll)):scroll(g))}function click(n){if(C)return n.preventDefault(),n.stopPropagation(),!1;if(!e.fullWidth){var i=t(n.target).closest(".carousel-item").index();0!==l%d-i&&(n.preventDefault(),n.stopPropagation()),cycleTo(i)}}function cycleTo(t){var n=l%d-t;e.noWrap||(n<0?Math.abs(n+d)<Math.abs(n)&&(n+=d):n>0&&Math.abs(n-d)<n&&(n-=d)),n<0?A.trigger("carouselNext",[Math.abs(n)]):n>0&&A.trigger("carouselPrev",[n])}function tap(t){t.preventDefault(),u=!0,C=!1,k=!1,f=xpos(t),h=ypos(t),v=p=0,w=s,x=Date.now(),clearInterval(T),T=setInterval(track,100)}function drag(t){var e,n;if(u)if(e=xpos(t),y=ypos(t),n=f-e,Math.abs(h-y)<30&&!k)(n>2||n<-2)&&(C=!0,f=e,scroll(s+n));else{if(C)return t.preventDefault(),t.stopPropagation(),!1;k=!0}if(C)return t.preventDefault(),t.stopPropagation(),!1}function release(t){if(u)return u=!1,clearInterval(T),g=s,(v>10||v<-10)&&(p=.9*v,g=s+p),g=Math.round(g/c)*c,e.noWrap&&(g>=c*(d-1)?g=c*(d-1):g<0&&(g=0)),p=g-s,x=Date.now(),requestAnimationFrame(autoScroll),C&&(t.preventDefault(),t.stopPropagation()),!1}var r,o,a,s,l,u,c,d,f,h,p,g,v,m,b,w,x,T,C,k,E=i+n,S=t('<ul class="indicators"></ul>'),_=null,A=t(this),P=A.attr("data-indicators")||e.indicators;if(e.fullWidth&&(e.dist=0,function(){var e=A.find(".carousel-item img").first();if(e.length)e.prop("complete")?A.css("height",e.height()):e.on("load",function(){A.css("height",t(this).height())});else{var n=A.find(".carousel-item").first().height();A.css("height",n)}}(),P&&A.find(".carousel-fixed-item").addClass("with-indicators")),A.hasClass("initialized"))return t(window).trigger("resize"),t(this).trigger("carouselNext",[1e-6]),!0;A.addClass("initialized"),u=!1,s=g=0,r=[],o=A.find(".carousel-item").first().innerWidth(),a=A.find(".carousel-item").first().innerHeight(),c=2*o+e.padding,A.find(".carousel-item").each(function(e){if(r.push(t(this)[0]),P){var n=t('<li class="indicator-item"></li>');0===e&&n.addClass("active"),n.click(function(e){e.stopPropagation(),cycleTo(t(this).index())}),S.append(n)}}),P&&A.append(S),d=r.length,b="transform",["webkit","Moz","O","ms"].every(function(t){var e=t+"Transform";return void 0===document.body.style[e]||(b=e,!1)}),t(window).off("resize.carousel-"+E).on("resize.carousel-"+E,function(){e.fullWidth?(o=A.find(".carousel-item").first().innerWidth(),a=A.find(".carousel-item").first().innerHeight(),c=2*o+e.padding,s=2*l*o,g=s):scroll()}),function(){void 0!==window.ontouchstart&&(A[0].addEventListener("touchstart",tap),A[0].addEventListener("touchmove",drag),A[0].addEventListener("touchend",release)),A[0].addEventListener("mousedown",tap),A[0].addEventListener("mousemove",drag),A[0].addEventListener("mouseup",release),A[0].addEventListener("mouseleave",release),A[0].addEventListener("click",click)}(),scroll(s),t(this).on("carouselNext",function(t,e){void 0===e&&(e=1),g=c*Math.round(s/c)+c*e,s!==g&&(p=g-s,x=Date.now(),requestAnimationFrame(autoScroll))}),t(this).on("carouselPrev",function(t,e){void 0===e&&(e=1),g=c*Math.round(s/c)-c*e,s!==g&&(p=g-s,x=Date.now(),requestAnimationFrame(autoScroll))}),t(this).on("carouselSet",function(t,e){void 0===e&&(e=0),cycleTo(e)})})},next:function(e){t(this).trigger("carouselNext",[e])},prev:function(e){t(this).trigger("carouselPrev",[e])},set:function(e){t(this).trigger("carouselSet",[e])}};t.fn.carousel=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.carousel"):e.init.apply(this,arguments)}}(C),function(t){var e={init:function(e){return this.each(function(){var n=t("#"+t(this).attr("data-activates")),i=(t("body"),t(this)),r=i.parent(".tap-target-wrapper"),o=r.find(".tap-target-wave"),a=r.find(".tap-target-origin"),s=i.find(".tap-target-content");r.length||(r=i.wrap(t('<div class="tap-target-wrapper"></div>')).parent()),s.length||(s=t('<div class="tap-target-content"></div>'),i.append(s)),o.length||(o=t('<div class="tap-target-wave"></div>'),a.length||(a=n.clone(!0,!0),a.addClass("tap-target-origin"),a.removeAttr("id"),a.removeAttr("style"),o.append(a)),r.append(o));var l=function(){r.is(".open")&&(r.removeClass("open"),a.off("click.tapTarget"),t(document).off("click.tapTarget"),t(window).off("resize.tapTarget"))},u=function(){var e="fixed"===n.css("position");if(!e)for(var a=n.parents(),l=0;l<a.length&&!(e="fixed"==t(a[l]).css("position"));l++);var u=n.outerWidth(),c=n.outerHeight(),d=e?n.offset().top-t(document).scrollTop():n.offset().top,f=e?n.offset().left-t(document).scrollLeft():n.offset().left,h=t(window).width(),p=t(window).height(),g=h/2,v=p/2,m=f<=g,y=f>g,b=d<=v,w=d>v,x=f>=.25*h&&f<=.75*h,T=i.outerWidth(),C=i.outerHeight(),k=d+c/2-C/2,E=f+u/2-T/2,S=e?"fixed":"absolute",_=x?T:T/2+u,A=C/2,P=b?C/2:0,D=m&&!x?T/2-u:0,O=u,N=w?"bottom":"top",M=2*u,I=M,R=C/2-I/2,L=T/2-M/2,z={};z.top=b?k:"",z.right=y?h-E-T:"",z.bottom=w?p-k-C:"",z.left=m?E:"",z.position=S,r.css(z),s.css({width:_,height:A,top:P,right:0,bottom:0,left:D,padding:O,verticalAlign:N}),o.css({top:R,left:L,width:M,height:I})};"open"==e&&(u(),function(){r.is(".open")||(r.addClass("open"),setTimeout(function(){a.off("click.tapTarget").on("click.tapTarget",function(t){l(),a.off("click.tapTarget")}),t(document).off("click.tapTarget").on("click.tapTarget",function(e){l(),t(document).off("click.tapTarget")});var e=Materialize.throttle(function(){u()},200);t(window).off("resize.tapTarget").on("resize.tapTarget",e)},0))}()),"close"==e&&l()})},open:function(){},close:function(){}};t.fn.tapTarget=function(n){if(e[n]||"object"==typeof n)return e.init.apply(this,arguments);t.error("Method "+n+" does not exist on jQuery.tap-target")}}(C)}).call(i,a(0),a(0))},,,function(t,e,n){"use strict";var i=n(0),r=function(t){return t&&t.__esModule?t:{default:t}}(i);n(49),n(50),n(21);var o=n(45);n(44),n(43),n(48),(0,r.default)(document).ready(function(){(0,r.default)(".button-collapse").sideNav(),(0,r.default)("select").material_select(),(0,r.default)(".collapsible").collapsible({accordion:!1}),(0,r.default)(".datepicker").pickadate({selectMonths:!0,selectYears:15,formatSubmit:"dd/mm/yyyy",hiddenName:!0,format:"dd/mm/yyyy",container:"body"}),(0,o.initFilters)(),(0,o.initExport)(),(0,r.default)("#nav-btn-add-tag").on("click",function(){return(0,r.default)(".nav-panel-add-tag").toggle(100),(0,r.default)(".nav-panel-menu").addClass("hidden"),(0,r.default)("#tag_label").focus(),!1}),(0,r.default)("#nav-btn-add").on("click",function(){return(0,r.default)(".nav-panel-buttom").hide(100),(0,r.default)(".nav-panel-add").show(100),(0,r.default)(".nav-panels .action").hide(100),(0,r.default)(".nav-panel-menu").addClass("hidden"),(0,r.default)(".nav-panels").css("background","white"),(0,r.default)("#entry_url").focus(),!1}),(0,r.default)("#nav-btn-search").on("click",function(){return(0,r.default)(".nav-panel-buttom").hide(100),(0,r.default)(".nav-panel-search").show(100),(0,r.default)(".nav-panels .action").hide(100),(0,r.default)(".nav-panel-menu").addClass("hidden"),(0,r.default)(".nav-panels").css("background","white"),(0,r.default)("#search_entry_term").focus(),!1}),(0,r.default)(".close").on("click",function(){return(0,r.default)(".nav-panel-add").hide(100),(0,r.default)(".nav-panel-search").hide(100),(0,r.default)(".nav-panel-buttom").show(100),(0,r.default)(".nav-panels .action").show(100),(0,r.default)(".nav-panel-menu").removeClass("hidden"),(0,r.default)(".nav-panels").css("background","transparent"),!1}),(0,r.default)(window).scroll(function(){var t=(0,r.default)(window).scrollTop(),e=(0,r.default)(document).height(),n=(0,r.default)(window).height(),i=t/(e-n)*100;(0,r.default)(".progress .determinate").css("width",i+"%")})})},function(t,e,n){var i;!function(r,o,a,s){"use strict";function setTimeoutContext(t,e,n){return setTimeout(bindFn(t,n),e)}function invokeArrayArg(t,e,n){return!!Array.isArray(t)&&(each(t,n[e],n),!0)}function each(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function deprecate(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}function inherit(t,e,n){var i,r=e.prototype;i=t.prototype=Object.create(r),i.constructor=t,i._super=r,n&&l(i,n)}function bindFn(t,e){return function(){return t.apply(e,arguments)}}function boolOrFn(t,e){return typeof t==d?t.apply(e?e[0]||s:s,e):t}function ifUndefined(t,e){return t===s?e:t}function addEventListeners(t,e,n){each(splitStr(e),function(e){t.addEventListener(e,n,!1)})}function removeEventListeners(t,e,n){each(splitStr(e),function(e){t.removeEventListener(e,n,!1)})}function hasParent(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function inStr(t,e){return t.indexOf(e)>-1}function splitStr(t){return t.trim().split(/\s+/g)}function inArray(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function toArray(t){return Array.prototype.slice.call(t,0)}function uniqueArray(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];inArray(r,a)<0&&i.push(t[o]),r[o]=a,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function prefixed(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<u.length;){if(n=u[o],(i=n?n+r:e)in t)return i;o++}return s}function uniqueId(){return m++}function getWindowForElement(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}function Input(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){boolOrFn(t.options.enable,[t])&&n.handler(e)},this.init()}function createInputInstance(t){var e=t.options.inputClass;return new(e||(w?PointerEventInput:x?TouchInput:b?TouchMouseInput:MouseInput))(t,inputHandler)}function inputHandler(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&C&&i-r==0,a=e&(E|S)&&i-r==0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,computeInputData(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function computeInputData(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=simpleCloneInputData(e)),r>1&&!n.firstMultiple?n.firstMultiple=simpleCloneInputData(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,l=e.center=getCenter(i);e.timeStamp=p(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=getAngle(s,l),e.distance=getDistance(s,l),computeDeltaXY(n,e),e.offsetDirection=getDirection(e.deltaX,e.deltaY);var u=getVelocity(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=h(u.x)>h(u.y)?u.x:u.y,e.scale=a?getScale(a.pointers,i):1,e.rotation=a?getRotation(a.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,computeIntervalInputData(n,e);var c=t.element;hasParent(e.srcEvent.target,c)&&(c=e.srcEvent.target),e.target=c}function computeDeltaXY(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==C&&o.eventType!==E||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function computeIntervalInputData(t,e){var n,i,r,o,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=S&&(l>T||a.velocity===s)){var u=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,d=getVelocity(l,u,c);i=d.x,r=d.y,n=h(d.x)>h(d.y)?d.x:d.y,o=getDirection(u,c),t.lastInterval=e}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}function simpleCloneInputData(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:f(t.pointers[n].clientX),clientY:f(t.pointers[n].clientY)},n++;return{timeStamp:p(),pointers:e,center:getCenter(e),deltaX:t.deltaX,deltaY:t.deltaY}}function getCenter(t){var e=t.length;if(1===e)return{x:f(t[0].clientX),y:f(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:f(n/e),y:f(i/e)}}function getVelocity(t,e,n){return{x:e/t||0,y:n/t||0}}function getDirection(t,e){return t===e?_:h(t)>=h(e)?t<0?A:P:e<0?D:O}function getDistance(t,e,n){n||(n=R);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function getAngle(t,e,n){n||(n=R);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function getRotation(t,e){return getAngle(e[1],e[0],L)+getAngle(t[1],t[0],L)}function getScale(t,e){return getDistance(e[0],e[1],L)/getDistance(t[0],t[1],L)}function MouseInput(){this.evEl=F,this.evWin=q,this.pressed=!1,Input.apply(this,arguments)}function PointerEventInput(){this.evEl=W,this.evWin=B,Input.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function SingleTouchInput(){this.evTarget=X,this.evWin=$,this.started=!1,Input.apply(this,arguments)}function normalizeSingleTouches(t,e){var n=toArray(t.touches),i=toArray(t.changedTouches);return e&(E|S)&&(n=uniqueArray(n.concat(i),"identifier",!0)),[n,i]}function TouchInput(){this.evTarget=U,this.targetIds={},Input.apply(this,arguments)}function getTouches(t,e){var n=toArray(t.touches),i=this.targetIds;if(e&(C|k)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=toArray(t.changedTouches),s=[],l=this.target;if(o=n.filter(function(t){return hasParent(t.target,l)}),e===C)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),e&(E|S)&&delete i[a[r].identifier],r++;return s.length?[uniqueArray(o.concat(s),"identifier",!0),s]:void 0}function TouchMouseInput(){Input.apply(this,arguments);var t=bindFn(this.handler,this);this.touch=new TouchInput(this.manager,t),this.mouse=new MouseInput(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function recordTouches(t,e){t&C?(this.primaryTouch=e.changedPointers[0].identifier,setLastTouch.call(this,e)):t&(E|S)&&setLastTouch.call(this,e)}function setLastTouch(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches,r=function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)};setTimeout(r,Q)}}function isSyntheticEvent(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),a=Math.abs(n-r.y);if(o<=G&&a<=G)return!0}return!1}function TouchAction(t,e){this.manager=t,this.set(e)}function cleanTouchActions(t){if(inStr(t,et))return et;var e=inStr(t,nt),n=inStr(t,it);return e&&n?et:e||n?e?nt:it:inStr(t,tt)?tt:Z}function Recognizer(t){this.options=l({},this.defaults,t||{}),this.id=uniqueId(),this.manager=null,this.options.enable=ifUndefined(this.options.enable,!0),this.state=ot,this.simultaneous={},this.requireFail=[]}function stateStr(t){return t&ct?"cancel":t<?"end":t&st?"move":t&at?"start":""}function directionStr(t){return t==O?"down":t==D?"up":t==A?"left":t==P?"right":""}function getRecognizerByNameIfManager(t,e){var n=e.manager;return n?n.get(t):t}function AttrRecognizer(){Recognizer.apply(this,arguments)}function PanRecognizer(){AttrRecognizer.apply(this,arguments),this.pX=null,this.pY=null}function PinchRecognizer(){AttrRecognizer.apply(this,arguments)}function PressRecognizer(){Recognizer.apply(this,arguments),this._timer=null,this._input=null}function RotateRecognizer(){AttrRecognizer.apply(this,arguments)}function SwipeRecognizer(){AttrRecognizer.apply(this,arguments)}function TapRecognizer(){Recognizer.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Hammer(t,e){return e=e||{},e.recognizers=ifUndefined(e.recognizers,Hammer.defaults.preset),new Manager(t,e)}function Manager(t,e){this.options=l({},Hammer.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=createInputInstance(this),this.touchAction=new TouchAction(this,this.options.touchAction),toggleCssProps(this,!0),each(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function toggleCssProps(t,e){var n=t.element;if(n.style){var i;each(t.options.cssProps,function(r,o){i=prefixed(n.style,o),e?(t.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=t.oldCssProps[i]||""}),e||(t.oldCssProps={})}}function triggerDomEvent(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),d="function",f=Math.round,h=Math.abs,p=Date.now;l="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var g=deprecate(function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===s)&&(t[i[r]]=e[i[r]]),r++;return t},"extend","Use `assign`."),v=deprecate(function(t,e){return g(t,e,!0)},"merge","Use `assign`."),m=1,y=/mobile|tablet|ip(ad|hone|od)|android/i,b="ontouchstart"in r,w=prefixed(r,"PointerEvent")!==s,x=b&&y.test(navigator.userAgent),T=25,C=1,k=2,E=4,S=8,_=1,A=2,P=4,D=8,O=16,N=A|P,M=D|O,I=N|M,R=["x","y"],L=["clientX","clientY"];Input.prototype={handler:function(){},init:function(){this.evEl&&addEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&addEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&addEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&removeEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&removeEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&removeEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)}};var z={mousedown:C,mousemove:k,mouseup:E},F="mousedown",q="mousemove mouseup";inherit(MouseInput,Input,{handler:function(t){var e=z[t.type];e&C&&0===t.button&&(this.pressed=!0),e&k&&1!==t.which&&(e=E),this.pressed&&(e&E&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var H={pointerdown:C,pointermove:k,pointerup:E,pointercancel:S,pointerout:S},j={2:"touch",3:"pen",4:"mouse",5:"kinect"},W="pointerdown",B="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(W="MSPointerDown",B="MSPointerMove MSPointerUp MSPointerCancel"),inherit(PointerEventInput,Input,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=H[i],o=j[t.pointerType]||t.pointerType,a="touch"==o,s=inArray(e,t.pointerId,"pointerId");r&C&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):r&(E|S)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var V={touchstart:C,touchmove:k,touchend:E,touchcancel:S},X="touchstart",$="touchstart touchmove touchend touchcancel";inherit(SingleTouchInput,Input,{handler:function(t){var e=V[t.type];if(e===C&&(this.started=!0),this.started){var n=normalizeSingleTouches.call(this,t,e);e&(E|S)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var Y={touchstart:C,touchmove:k,touchend:E,touchcancel:S},U="touchstart touchmove touchend touchcancel";inherit(TouchInput,Input,{handler:function(t){var e=Y[t.type],n=getTouches.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}});var Q=2500,G=25;inherit(TouchMouseInput,Input,{handler:function(t,e,n){var i="touch"==n.pointerType,r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)recordTouches.call(this,e,n);else if(r&&isSyntheticEvent.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var K=prefixed(c.style,"touchAction"),J=K!==s,Z="auto",tt="manipulation",et="none",nt="pan-x",it="pan-y",rt=function(){if(!J)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||r.CSS.supports("touch-action",n)}),t}();TouchAction.prototype={set:function(t){"compute"==t&&(t=this.compute()),J&&this.manager.element.style&&rt[t]&&(this.manager.element.style[K]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return each(this.manager.recognizers,function(e){boolOrFn(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),cleanTouchActions(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var i=this.actions,r=inStr(i,et)&&!rt[et],o=inStr(i,it)&&!rt[it],a=inStr(i,nt)&&!rt[nt];if(r){var s=1===t.pointers.length,l=t.distance<2,u=t.deltaTime<250;if(s&&l&&u)return}return a&&o?void 0:r||o&&n&N||a&&n&M?this.preventSrc(e):void 0},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var ot=1,at=2,st=4,lt=8,ut=lt,ct=16;Recognizer.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(invokeArrayArg(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=getRecognizerByNameIfManager(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return invokeArrayArg(t,"dropRecognizeWith",this)?this:(t=getRecognizerByNameIfManager(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(invokeArrayArg(t,"requireFailure",this))return this;var e=this.requireFail;return t=getRecognizerByNameIfManager(t,this),-1===inArray(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(invokeArrayArg(t,"dropRequireFailure",this))return this;t=getRecognizerByNameIfManager(t,this);var e=inArray(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function emit(n){e.manager.emit(n,t)}var e=this,n=this.state;n<lt&&emit(e.options.event+stateStr(n)),emit(e.options.event),t.additionalEvent&&emit(t.additionalEvent),n>=lt&&emit(e.options.event+stateStr(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|ot)))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!boolOrFn(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(ut|ct|32)&&(this.state=ot),this.state=this.process(e),this.state&(at|st|lt|ct)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},inherit(AttrRecognizer,Recognizer,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(at|st),r=this.attrTest(t);return i&&(n&S||!r)?e|ct:i||r?n&E?e|lt:e&at?e|st:at:32}}),inherit(PanRecognizer,AttrRecognizer,{defaults:{event:"pan",threshold:10,pointers:1,direction:I},getTouchAction:function(){var t=this.options.direction,e=[];return t&N&&e.push(it),t&M&&e.push(nt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(e.direction&N?(r=0===o?_:o<0?A:P,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===a?_:a<0?D:O,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return AttrRecognizer.prototype.attrTest.call(this,t)&&(this.state&at||!(this.state&at)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=directionStr(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),inherit(PinchRecognizer,AttrRecognizer,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[et]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&at)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),inherit(PressRecognizer,Recognizer,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Z]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(E|S)&&!r)this.reset();else if(t.eventType&C)this.reset(),this._timer=setTimeoutContext(function(){this.state=ut,this.tryEmit()},e.time,this);else if(t.eventType&E)return ut;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ut&&(t&&t.eventType&E?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}}),inherit(RotateRecognizer,AttrRecognizer,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[et]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&at)}}),inherit(SwipeRecognizer,AttrRecognizer,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:N|M,pointers:1},getTouchAction:function(){return PanRecognizer.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(N|M)?e=t.overallVelocity:n&N?e=t.overallVelocityX:n&M&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&h(e)>this.options.velocity&&t.eventType&E},emit:function(t){var e=directionStr(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),inherit(TapRecognizer,Recognizer,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[tt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&C&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=E)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||getDistance(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=setTimeoutContext(function(){this.state=ut,this.tryEmit()},e.interval,this),at):ut}return 32},failTimeout:function(){return this._timer=setTimeoutContext(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ut&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Hammer.VERSION="2.0.7",Hammer.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[RotateRecognizer,{enable:!1}],[PinchRecognizer,{enable:!1},["rotate"]],[SwipeRecognizer,{direction:N}],[PanRecognizer,{direction:N},["swipe"]],[TapRecognizer],[TapRecognizer,{event:"doubletap",taps:2},["tap"]],[PressRecognizer]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};Manager.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&ut)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(at|st|lt)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Recognizer)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(invokeArrayArg(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(invokeArrayArg(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=inArray(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var n=this.handlers;return each(splitStr(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==s){var n=this.handlers;return each(splitStr(t),function(t){e?n[t]&&n[t].splice(inArray(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&triggerDomEvent(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&toggleCssProps(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Hammer,{INPUT_START:C,INPUT_MOVE:k,INPUT_END:E,INPUT_CANCEL:S,STATE_POSSIBLE:ot,STATE_BEGAN:at,STATE_CHANGED:st,STATE_ENDED:lt,STATE_RECOGNIZED:ut,STATE_CANCELLED:ct,STATE_FAILED:32,DIRECTION_NONE:_,DIRECTION_LEFT:A,DIRECTION_RIGHT:P,DIRECTION_UP:D,DIRECTION_DOWN:O,DIRECTION_HORIZONTAL:N,DIRECTION_VERTICAL:M,DIRECTION_ALL:I,Manager:Manager,Input:Input,TouchAction:TouchAction,TouchInput:TouchInput,MouseInput:MouseInput,PointerEventInput:PointerEventInput,TouchMouseInput:TouchMouseInput,SingleTouchInput:SingleTouchInput,Recognizer:Recognizer,AttrRecognizer:AttrRecognizer,Tap:TapRecognizer,Pan:PanRecognizer,Swipe:SwipeRecognizer,Pinch:PinchRecognizer,Rotate:RotateRecognizer,Press:PressRecognizer,on:addEventListeners,off:removeEventListeners,each:each,merge:v,extend:g,assign:l,inherit:inherit,bindFn:bindFn,prefixed:prefixed}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Hammer,(i=function(){return Hammer}.call(e,n,e,t))!==s&&(t.exports=i)}(window,document)},function(t,e){(function(e){t.exports=e}).call(e,{})}]); \ No newline at end of file | !function(t){function __webpack_require__(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,__webpack_require__),i.l=!0,i.exports}var e={};__webpack_require__.m=t,__webpack_require__.c=e,__webpack_require__.i=function(t){return t},__webpack_require__.d=function(t,e,n){__webpack_require__.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},__webpack_require__.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(e,"a",e),e},__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},__webpack_require__.p="/bundles/wallabagcore/",__webpack_require__(__webpack_require__.s=53)}([function(t,e,n){var i,r;!function(e,n){"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,function(n,o){function isArrayLike(t){var e=!!t&&"length"in t&&t.length,n=v.type(t);return"function"!==n&&!v.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function winnow(t,e,n){if(v.isFunction(e))return v.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return v.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(S.test(e))return v.filter(e,t,n);e=v.filter(e,t)}return v.grep(t,function(t){return d.call(e,t)>-1!==n})}function sibling(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function createOptions(t){var e={};return v.each(t.match(O)||[],function(t,n){e[n]=!0}),e}function completed(){s.removeEventListener("DOMContentLoaded",completed),n.removeEventListener("load",completed),v.ready()}function Data(){this.expando=v.expando+Data.uid++}function dataAttr(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(F,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:z.test(n)?v.parseJSON(n):n)}catch(t){}L.set(t,e,n)}else n=void 0;return n}function adjustCSS(t,e,n,i){var r,o=1,a=20,s=i?function(){return i.cur()}:function(){return v.css(t,e,"")},l=s(),u=n&&n[3]||(v.cssNumber[e]?"":"px"),c=(v.cssNumber[e]||"px"!==u&&+l)&&H.exec(v.css(t,e));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do{o=o||".5",c/=o,v.style(t,e,c+u)}while(o!==(o=s()/l)&&1!==o&&--a)}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],i&&(i.unit=u,i.start=c,i.end=r)),r}function getAll(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&v.nodeName(t,e)?v.merge([t],n):n}function setGlobalEval(t,e){for(var n=0,i=t.length;n<i;n++)R.set(t[n],"globalEval",!e||R.get(e[n],"globalEval"))}function buildFragment(t,e,n,i,r){for(var o,a,s,l,u,c,d=e.createDocumentFragment(),f=[],h=0,p=t.length;h<p;h++)if((o=t[h])||0===o)if("object"===v.type(o))v.merge(f,o.nodeType?[o]:o);else if(Y.test(o)){for(a=a||d.appendChild(e.createElement("div")),s=(V.exec(o)||["",""])[1].toLowerCase(),l=$[s]||$._default,a.innerHTML=l[1]+v.htmlPrefilter(o)+l[2],c=l[0];c--;)a=a.lastChild;v.merge(f,a.childNodes),a=d.firstChild,a.textContent=""}else f.push(e.createTextNode(o));for(d.textContent="",h=0;o=f[h++];)if(i&&v.inArray(o,i)>-1)r&&r.push(o);else if(u=v.contains(o.ownerDocument,o),a=getAll(d.appendChild(o),"script"),u&&setGlobalEval(a),n)for(c=0;o=a[c++];)X.test(o.type||"")&&n.push(o);return d}function returnTrue(){return!0}function returnFalse(){return!1}function safeActiveElement(){try{return s.activeElement}catch(t){}}function on(t,e,n,i,r,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(s in e)on(t,s,n,i,e[s],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=returnFalse;else if(!r)return t;return 1===o&&(a=r,r=function(t){return v().off(t),a.apply(this,arguments)},r.guid=a.guid||(a.guid=v.guid++)),t.each(function(){v.event.add(this,e,r,i,n)})}function manipulationTarget(t,e){return v.nodeName(t,"table")&&v.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function disableScript(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function restoreScript(t){var e=tt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function cloneCopyEvent(t,e){var n,i,r,o,a,s,l,u;if(1===e.nodeType){if(R.hasData(t)&&(o=R.access(t),a=R.set(e,o),u=o.events)){delete a.handle,a.events={};for(r in u)for(n=0,i=u[r].length;n<i;n++)v.event.add(e,r,u[r][n])}L.hasData(t)&&(s=L.access(t),l=v.extend({},s),L.set(e,l))}}function fixInput(t,e){var n=e.nodeName.toLowerCase();"input"===n&&B.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function domManip(t,e,n,i){e=u.apply([],e);var r,o,a,s,l,c,d=0,f=t.length,h=f-1,p=e[0],m=v.isFunction(p);if(m||f>1&&"string"==typeof p&&!g.checkClone&&Z.test(p))return t.each(function(r){var o=t.eq(r);m&&(e[0]=p.call(this,r,o.html())),domManip(o,e,n,i)});if(f&&(r=buildFragment(e,t[0].ownerDocument,!1,t,i),o=r.firstChild,1===r.childNodes.length&&(r=o),o||i)){for(a=v.map(getAll(r,"script"),disableScript),s=a.length;d<f;d++)l=r,d!==h&&(l=v.clone(l,!0,!0),s&&v.merge(a,getAll(l,"script"))),n.call(t[d],l,d);if(s)for(c=a[a.length-1].ownerDocument,v.map(a,restoreScript),d=0;d<s;d++)l=a[d],X.test(l.type||"")&&!R.access(l,"globalEval")&&v.contains(c,l)&&(l.src?v._evalUrl&&v._evalUrl(l.src):v.globalEval(l.textContent.replace(et,"")))}return t}function remove(t,e,n){for(var i,r=e?v.filter(e,t):t,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||v.cleanData(getAll(i)),i.parentNode&&(n&&v.contains(i.ownerDocument,i)&&setGlobalEval(getAll(i,"script")),i.parentNode.removeChild(i));return t}function actualDisplay(t,e){var n=v(e.createElement(t)).appendTo(e.body),i=v.css(n[0],"display");return n.detach(),i}function defaultDisplay(t){var e=s,n=it[t];return n||(n=actualDisplay(t,e),"none"!==n&&n||(nt=(nt||v("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=nt[0].contentDocument,e.write(),e.close(),n=actualDisplay(t,e),nt.detach()),it[t]=n),n}function curCSS(t,e,n){var i,r,o,a,s=t.style;return n=n||at(t),a=n?n.getPropertyValue(e)||n[e]:void 0,""!==a&&void 0!==a||v.contains(t.ownerDocument,t)||(a=v.style(t,e)),n&&!g.pixelMarginRight()&&ot.test(a)&&rt.test(e)&&(i=s.width,r=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=i,s.minWidth=r,s.maxWidth=o),void 0!==a?a+"":a}function addGetHookIf(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}function vendorPropName(t){if(t in ht)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=ft.length;n--;)if((t=ft[n]+e)in ht)return t}function setPositiveNumber(t,e,n){var i=H.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function augmentWidthOrHeight(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=v.css(t,n+j[o],!0,r)),i?("content"===n&&(a-=v.css(t,"padding"+j[o],!0,r)),"margin"!==n&&(a-=v.css(t,"border"+j[o]+"Width",!0,r))):(a+=v.css(t,"padding"+j[o],!0,r),"padding"!==n&&(a+=v.css(t,"border"+j[o]+"Width",!0,r)));return a}function getWidthOrHeight(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=at(t),a="border-box"===v.css(t,"boxSizing",!1,o);if(r<=0||null==r){if(r=curCSS(t,e,o),(r<0||null==r)&&(r=t.style[e]),ot.test(r))return r;i=a&&(g.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+augmentWidthOrHeight(t,e,n||(a?"border":"content"),i,o)+"px"}function showHide(t,e){for(var n,i,r,o=[],a=0,s=t.length;a<s;a++)i=t[a],i.style&&(o[a]=R.get(i,"olddisplay"),n=i.style.display,e?(o[a]||"none"!==n||(i.style.display=""),""===i.style.display&&W(i)&&(o[a]=R.access(i,"olddisplay",defaultDisplay(i.nodeName)))):(r=W(i),"none"===n&&r||R.set(i,"olddisplay",r?n:v.css(i,"display"))));for(a=0;a<s;a++)i=t[a],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[a]||"":"none"));return t}function Tween(t,e,n,i,r){return new Tween.prototype.init(t,e,n,i,r)}function createFxNow(){return n.setTimeout(function(){pt=void 0}),pt=v.now()}function genFx(t,e){var n,i=0,r={height:t};for(e=e?1:0;i<4;i+=2-e)n=j[i],r["margin"+n]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function createTween(t,e,n){for(var i,r=(Animation.tweeners[e]||[]).concat(Animation.tweeners["*"]),o=0,a=r.length;o<a;o++)if(i=r[o].call(n,e,t))return i}function defaultPrefilter(t,e,n){var i,r,o,a,s,l,u,c=this,d={},f=t.style,h=t.nodeType&&W(t),p=R.get(t,"fxshow");n.queue||(s=v._queueHooks(t,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,v.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],u=v.css(t,"display"),"inline"===("none"===u?R.get(t,"olddisplay")||defaultDisplay(t.nodeName):u)&&"none"===v.css(t,"float")&&(f.display="inline-block")),n.overflow&&(f.overflow="hidden",c.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],vt.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(h?"hide":"show")){if("show"!==r||!p||void 0===p[i])continue;h=!0}d[i]=p&&p[i]||v.style(t,i)}else u=void 0;if(v.isEmptyObject(d))"inline"===("none"===u?defaultDisplay(t.nodeName):u)&&(f.display=u);else{p?"hidden"in p&&(h=p.hidden):p=R.access(t,"fxshow",{}),o&&(p.hidden=!h),h?v(t).show():c.done(function(){v(t).hide()}),c.done(function(){var e;R.remove(t,"fxshow");for(e in d)v.style(t,e,d[e])});for(i in d)a=createTween(h?p[i]:0,i,c),i in p||(p[i]=a.start,h&&(a.end=a.start,a.start="width"===i||"height"===i?1:0))}}function propFilter(t,e){var n,i,r,o,a;for(n in t)if(i=v.camelCase(n),r=e[i],o=t[n],v.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(a=v.cssHooks[i])&&"expand"in a){o=a.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function Animation(t,e,n){var i,r,o=0,a=Animation.prefilters.length,s=v.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=pt||createFxNow(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,o=1-i,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(o);return s.notifyWith(t,[u,o,n]),o<1&&l?n:(s.resolveWith(t,[u]),!1)},u=s.promise({elem:t,props:v.extend({},e),opts:v.extend(!0,{specialEasing:{},easing:v.easing._default},n),originalProperties:e,originalOptions:n,startTime:pt||createFxNow(),duration:n.duration,tweens:[],createTween:function(e,n){var i=v.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;n<i;n++)u.tweens[n].run(1);return e?(s.notifyWith(t,[u,1,0]),s.resolveWith(t,[u,e])):s.rejectWith(t,[u,e]),this}}),c=u.props;for(propFilter(c,u.opts.specialEasing);o<a;o++)if(i=Animation.prefilters[o].call(u,t,c,u.opts))return v.isFunction(i.stop)&&(v._queueHooks(u.elem,u.opts.queue).stop=v.proxy(i.stop,i)),i;return v.map(c,createTween,u),v.isFunction(u.opts.start)&&u.opts.start.call(t,u),v.fx.timer(v.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function getClass(t){return t.getAttribute&&t.getAttribute("class")||""}function addToPrefiltersOrTransports(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(O)||[];if(v.isFunction(n))for(;i=o[r++];)"+"===i[0]?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function inspectPrefiltersOrTransports(t,e,n,i){function inspect(a){var s;return r[a]=!0,v.each(t[a]||[],function(t,a){var l=a(e,n,i);return"string"!=typeof l||o||r[l]?o?!(s=l):void 0:(e.dataTypes.unshift(l),inspect(l),!1)}),s}var r={},o=t===Lt;return inspect(e.dataTypes[0])||!r["*"]&&inspect("*")}function ajaxExtend(t,e){var n,i,r=v.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:i||(i={}))[n]=e[n]);return i&&v.extend(!0,t,i),t}function ajaxHandleResponses(t,e,n){for(var i,r,o,a,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=t.mimeType||e.getResponseHeader("Content-Type"));if(i)for(r in s)if(s[r]&&s[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){o=r;break}a||(a=r)}o=o||a}if(o)return o!==l[0]&&l.unshift(o),n[o]}function ajaxConvert(t,e,n,i){var r,o,a,s,l,u={},c=t.dataTypes.slice();if(c[1])for(a in t.converters)u[a.toLowerCase()]=t.converters[a];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(r in u)if(s=r.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[r]:!0!==u[r]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&t.throws)e=a(e);else try{e=a(e)}catch(t){return{state:"parsererror",error:a?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function buildParams(t,e,n,i){var r;if(v.isArray(e))v.each(e,function(e,r){n||Ht.test(t)?i(t,r):buildParams(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,i)});else if(n||"object"!==v.type(e))i(t,e);else for(r in e)buildParams(t+"["+r+"]",e[r],n,i)}function getWindow(t){return v.isWindow(t)?t:9===t.nodeType&&t.defaultView}var a=[],s=n.document,l=a.slice,u=a.concat,c=a.push,d=a.indexOf,f={},h=f.toString,p=f.hasOwnProperty,g={},v=function(t,e){return new v.fn.init(t,e)},m=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,y=/^-ms-/,b=/-([\da-z])/gi,w=function(t,e){return e.toUpperCase()};v.fn=v.prototype={jquery:"2.2.4",constructor:v,selector:"",length:0,toArray:function(){return l.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:l.call(this)},pushStack:function(t){var e=v.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t){return v.each(this,t)},map:function(t){return this.pushStack(v.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:a.sort,splice:a.splice},v.extend=v.fn.extend=function(){var t,e,n,i,r,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||v.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(t=arguments[s]))for(e in t)n=a[e],i=t[e],a!==i&&(u&&i&&(v.isPlainObject(i)||(r=v.isArray(i)))?(r?(r=!1,o=n&&v.isArray(n)?n:[]):o=n&&v.isPlainObject(n)?n:{},a[e]=v.extend(u,o,i)):void 0!==i&&(a[e]=i));return a},v.extend({expando:"jQuery"+("2.2.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===v.type(t)},isArray:Array.isArray,isWindow:function(t){return null!=t&&t===t.window},isNumeric:function(t){var e=t&&t.toString();return!v.isArray(t)&&e-parseFloat(e)+1>=0},isPlainObject:function(t){var e;if("object"!==v.type(t)||t.nodeType||v.isWindow(t))return!1;if(t.constructor&&!p.call(t,"constructor")&&!p.call(t.constructor.prototype||{},"isPrototypeOf"))return!1;for(e in t);return void 0===e||p.call(t,e)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?f[h.call(t)]||"object":typeof t},globalEval:function(t){var e,n=eval;(t=v.trim(t))&&(1===t.indexOf("use strict")?(e=s.createElement("script"),e.text=t,s.head.appendChild(e).parentNode.removeChild(e)):n(t))},camelCase:function(t){return t.replace(y,"ms-").replace(b,w)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,i=0;if(isArrayLike(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(m,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(isArrayLike(Object(t))?v.merge(n,"string"==typeof t?[t]:t):c.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:d.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,a=!n;r<o;r++)!e(t[r],r)!==a&&i.push(t[r]);return i},map:function(t,e,n){var i,r,o=0,a=[];if(isArrayLike(t))for(i=t.length;o<i;o++)null!=(r=e(t[o],o,n))&&a.push(r);else for(o in t)null!=(r=e(t[o],o,n))&&a.push(r);return u.apply([],a)},guid:1,proxy:function(t,e){var n,i,r;if("string"==typeof e&&(n=t[e],e=t,t=n),v.isFunction(t))return i=l.call(arguments,2),r=function(){return t.apply(e||this,i.concat(l.call(arguments)))},r.guid=t.guid=t.guid||v.guid++,r},now:Date.now,support:g}),"function"==typeof Symbol&&(v.fn[Symbol.iterator]=a[Symbol.iterator]),v.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){f["[object "+e+"]"]=e.toLowerCase()});var x=function(t){function Sizzle(t,e,i,r){var o,s,u,c,d,p,m,y,T=e&&e.ownerDocument,C=e?e.nodeType:9;if(i=i||[],"string"!=typeof t||!t||1!==C&&9!==C&&11!==C)return i;if(!r&&((e?e.ownerDocument||e:x)!==h&&f(e),e=e||h,g)){if(11!==C&&(p=J.exec(t)))if(o=p[1]){if(9===C){if(!(u=e.getElementById(o)))return i;if(u.id===o)return i.push(u),i}else if(T&&(u=T.getElementById(o))&&b(e,u)&&u.id===o)return i.push(u),i}else{if(p[2])return M.apply(i,e.getElementsByTagName(t)),i;if((o=p[3])&&n.getElementsByClassName&&e.getElementsByClassName)return M.apply(i,e.getElementsByClassName(o)),i}if(n.qsa&&!S[t+" "]&&(!v||!v.test(t))){if(1!==C)T=e,y=t;else if("object"!==e.nodeName.toLowerCase()){for((c=e.getAttribute("id"))?c=c.replace(tt,"\\$&"):e.setAttribute("id",c=w),m=a(t),s=m.length,d=Y.test(c)?"#"+c:"[id='"+c+"']";s--;)m[s]=d+" "+toSelector(m[s]);y=m.join(","),T=Z.test(t)&&testContext(e.parentNode)||e}if(y)try{return M.apply(i,T.querySelectorAll(y)),i}catch(t){}finally{c===w&&e.removeAttribute("id")}}}return l(t.replace(W,"$1"),e,i,r)}function createCache(){function cache(e,n){return t.push(e+" ")>i.cacheLength&&delete cache[t.shift()],cache[e+" "]=n}var t=[];return cache}function markFunction(t){return t[w]=!0,t}function assert(t){var e=h.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function addHandle(t,e){for(var n=t.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=e}function siblingCheck(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||A)-(~t.sourceIndex||A);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function createPositionalPseudo(t){return markFunction(function(e){return e=+e,markFunction(function(n,i){for(var r,o=t([],n.length,e),a=o.length;a--;)n[r=o[a]]&&(n[r]=!(i[r]=n[r]))})})}function testContext(t){return t&&void 0!==t.getElementsByTagName&&t}function setFilters(){}function toSelector(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function addCombinator(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=C++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,a){var s,l,u,c=[T,o];if(a){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,a))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(u=e[w]||(e[w]={}),l=u[e.uniqueID]||(u[e.uniqueID]={}),(s=l[i])&&s[0]===T&&s[1]===o)return c[2]=s[2];if(l[i]=c,c[2]=t(e,n,a))return!0}}}function elementMatcher(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function multipleContexts(t,e,n){for(var i=0,r=e.length;i<r;i++)Sizzle(t,e[i],n);return n}function condense(t,e,n,i,r){for(var o,a=[],s=0,l=t.length,u=null!=e;s<l;s++)(o=t[s])&&(n&&!n(o,i,r)||(a.push(o),u&&e.push(s)));return a}function setMatcher(t,e,n,i,r,o){return i&&!i[w]&&(i=setMatcher(i)),r&&!r[w]&&(r=setMatcher(r,o)),markFunction(function(o,a,s,l){var u,c,d,f=[],h=[],p=a.length,g=o||multipleContexts(e||"*",s.nodeType?[s]:s,[]),v=!t||!o&&e?g:condense(g,f,t,s,l),m=n?r||(o?t:p||i)?[]:a:v;if(n&&n(v,m,s,l),i)for(u=condense(m,h),i(u,[],s,l),c=u.length;c--;)(d=u[c])&&(m[h[c]]=!(v[h[c]]=d));if(o){if(r||t){if(r){for(u=[],c=m.length;c--;)(d=m[c])&&u.push(v[c]=d);r(null,m=[],u,l)}for(c=m.length;c--;)(d=m[c])&&(u=r?R(o,d):f[c])>-1&&(o[u]=!(a[u]=d))}}else m=condense(m===a?m.splice(p,m.length):m),r?r(null,a,m,l):M.apply(a,m)})}function matcherFromTokens(t){for(var e,n,r,o=t.length,a=i.relative[t[0].type],s=a||i.relative[" "],l=a?1:0,c=addCombinator(function(t){return t===e},s,!0),d=addCombinator(function(t){return R(e,t)>-1},s,!0),f=[function(t,n,i){var r=!a&&(i||n!==u)||((e=n).nodeType?c(t,n,i):d(t,n,i));return e=null,r}];l<o;l++)if(n=i.relative[t[l].type])f=[addCombinator(elementMatcher(f),n)];else{if(n=i.filter[t[l].type].apply(null,t[l].matches),n[w]){for(r=++l;r<o&&!i.relative[t[r].type];r++);return setMatcher(l>1&&elementMatcher(f),l>1&&toSelector(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(W,"$1"),n,l<r&&matcherFromTokens(t.slice(l,r)),r<o&&matcherFromTokens(t=t.slice(r)),r<o&&toSelector(t))}f.push(n)}return elementMatcher(f)}function matcherFromGroupMatchers(t,e){var n=e.length>0,r=t.length>0,o=function(o,a,s,l,c){var d,p,v,m=0,y="0",b=o&&[],w=[],x=u,C=o||r&&i.find.TAG("*",c),k=T+=null==x?1:Math.random()||.1,E=C.length;for(c&&(u=a===h||a||c);y!==E&&null!=(d=C[y]);y++){if(r&&d){for(p=0,a||d.ownerDocument===h||(f(d),s=!g);v=t[p++];)if(v(d,a||h,s)){l.push(d);break}c&&(T=k)}n&&((d=!v&&d)&&m--,o&&b.push(d))}if(m+=y,n&&y!==m){for(p=0;v=e[p++];)v(b,w,a,s);if(o){if(m>0)for(;y--;)b[y]||w[y]||(w[y]=O.call(l));w=condense(w)}M.apply(l,w),c&&!o&&w.length>0&&m+e.length>1&&Sizzle.uniqueSort(l)}return c&&(T=k,u=x),b};return n?markFunction(o):o}var e,n,i,r,o,a,s,l,u,c,d,f,h,p,g,v,m,y,b,w="sizzle"+1*new Date,x=t.document,T=0,C=0,k=createCache(),E=createCache(),S=createCache(),_=function(t,e){return t===e&&(d=!0),0},A=1<<31,P={}.hasOwnProperty,D=[],O=D.pop,N=D.push,M=D.push,I=D.slice,R=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",q="\\["+z+"*("+F+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+F+"))|)"+z+"*\\]",H=":("+F+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+q+")*)|.*)\\)|)",j=new RegExp(z+"+","g"),W=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),B=new RegExp("^"+z+"*,"+z+"*"),V=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),X=new RegExp("="+z+"*([^\\]'\"]*?)"+z+"*\\]","g"),$=new RegExp(H),Y=new RegExp("^"+F+"$"),U={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+H),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,tt=/'|\\/g,et=new RegExp("\\\\([\\da-f]{1,6}"+z+"?|("+z+")|.)","ig"),nt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},it=function(){f()};try{M.apply(D=I.call(x.childNodes),x.childNodes),D[x.childNodes.length].nodeType}catch(t){M={apply:D.length?function(t,e){N.apply(t,I.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}n=Sizzle.support={},o=Sizzle.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},f=Sizzle.setDocument=function(t){var e,r,a=t?t.ownerDocument||t:x;return a!==h&&9===a.nodeType&&a.documentElement?(h=a,p=h.documentElement,g=!o(h),(r=h.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",it,!1):r.attachEvent&&r.attachEvent("onunload",it)),n.attributes=assert(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=assert(function(t){return t.appendChild(h.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=K.test(h.getElementsByClassName),n.getById=assert(function(t){return p.appendChild(t).id=w,!h.getElementsByName||!h.getElementsByName(w).length}),n.getById?(i.find.ID=function(t,e){if(void 0!==e.getElementById&&g){var n=e.getElementById(t);return n?[n]:[]}},i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}}):(delete i.find.ID,i.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&g)return e.getElementsByClassName(t)},m=[],v=[],(n.qsa=K.test(h.querySelectorAll))&&(assert(function(t){p.appendChild(t).innerHTML="<a id='"+w+"'></a><select id='"+w+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+z+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+z+"*(?:value|"+L+")"),t.querySelectorAll("[id~="+w+"-]").length||v.push("~="),t.querySelectorAll(":checked").length||v.push(":checked"),t.querySelectorAll("a#"+w+"+*").length||v.push(".#.+[+~]")}),assert(function(t){var e=h.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+z+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")})),(n.matchesSelector=K.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&assert(function(t){n.disconnectedMatch=y.call(t,"div"),y.call(t,"[s!='']:x"),m.push("!=",H)}),v=v.length&&new RegExp(v.join("|")),m=m.length&&new RegExp(m.join("|")),e=K.test(p.compareDocumentPosition),b=e||K.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},_=e?function(t,e){if(t===e)return d=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!n.sortDetached&&e.compareDocumentPosition(t)===i?t===h||t.ownerDocument===x&&b(x,t)?-1:e===h||e.ownerDocument===x&&b(x,e)?1:c?R(c,t)-R(c,e):0:4&i?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],s=[e];if(!r||!o)return t===h?-1:e===h?1:r?-1:o?1:c?R(c,t)-R(c,e):0;if(r===o)return siblingCheck(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;a[i]===s[i];)i++;return i?siblingCheck(a[i],s[i]):a[i]===x?-1:s[i]===x?1:0},h):h},Sizzle.matches=function(t,e){return Sizzle(t,null,null,e)},Sizzle.matchesSelector=function(t,e){if((t.ownerDocument||t)!==h&&f(t),e=e.replace(X,"='$1']"),n.matchesSelector&&g&&!S[e+" "]&&(!m||!m.test(e))&&(!v||!v.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return Sizzle(e,h,null,[t]).length>0},Sizzle.contains=function(t,e){return(t.ownerDocument||t)!==h&&f(t),b(t,e)},Sizzle.attr=function(t,e){(t.ownerDocument||t)!==h&&f(t);var r=i.attrHandle[e.toLowerCase()],o=r&&P.call(i.attrHandle,e.toLowerCase())?r(t,e,!g):void 0;return void 0!==o?o:n.attributes||!g?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},Sizzle.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},Sizzle.uniqueSort=function(t){var e,i=[],r=0,o=0;if(d=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(_),d){for(;e=t[o++];)e===t[o]&&(r=i.push(o));for(;r--;)t.splice(i[r],1)}return c=null,t},r=Sizzle.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},i=Sizzle.selectors={cacheLength:50,createPseudo:markFunction,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||Sizzle.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&Sizzle.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return U.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&$.test(n)&&(e=a(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=k[t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&k(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var r=Sizzle.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(j," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),a="last"!==t.slice(-4),s="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,d,f,h,p,g=o!==a?"nextSibling":"previousSibling",v=e.parentNode,m=s&&e.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(o){for(;g;){for(f=e;f=f[g];)if(s?f.nodeName.toLowerCase()===m:1===f.nodeType)return!1;p=g="only"===t&&!p&&"nextSibling"}return!0}if(p=[a?v.firstChild:v.lastChild],a&&y){for(f=v,d=f[w]||(f[w]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[t]||[],h=u[0]===T&&u[1],b=h&&u[2],f=h&&v.childNodes[h];f=++h&&f&&f[g]||(b=h=0)||p.pop();)if(1===f.nodeType&&++b&&f===e){c[t]=[T,h,b];break}}else if(y&&(f=e,d=f[w]||(f[w]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[t]||[],h=u[0]===T&&u[1],b=h),!1===b)for(;(f=++h&&f&&f[g]||(b=h=0)||p.pop())&&((s?f.nodeName.toLowerCase()!==m:1!==f.nodeType)||!++b||(y&&(d=f[w]||(f[w]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),c[t]=[T,b]),f!==e)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||Sizzle.error("unsupported pseudo: "+t);return r[w]?r(e):r.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?markFunction(function(t,n){for(var i,o=r(t,e),a=o.length;a--;)i=R(t,o[a]),t[i]=!(n[i]=o[a])}):function(t){return r(t,0,n)}):r}},pseudos:{not:markFunction(function(t){var e=[],n=[],i=s(t.replace(W,"$1"));return i[w]?markFunction(function(t,e,n,r){for(var o,a=i(t,null,r,[]),s=t.length;s--;)(o=a[s])&&(t[s]=!(e[s]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:markFunction(function(t){return function(e){return Sizzle(t,e).length>0}}),contains:markFunction(function(t){return t=t.replace(et,nt),function(e){return(e.textContent||e.innerText||r(e)).indexOf(t)>-1}}),lang:markFunction(function(t){return Y.test(t||"")||Sizzle.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=g?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return G.test(t.nodeName)},input:function(t){return Q.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:createPositionalPseudo(function(){return[0]}),last:createPositionalPseudo(function(t,e){return[e-1]}),eq:createPositionalPseudo(function(t,e,n){return[n<0?n+e:n]}),even:createPositionalPseudo(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:createPositionalPseudo(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:createPositionalPseudo(function(t,e,n){for(var i=n<0?n+e:n;--i>=0;)t.push(i);return t}),gt:createPositionalPseudo(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}},i.pseudos.nth=i.pseudos.eq;for(e in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(e);return setFilters.prototype=i.filters=i.pseudos,i.setFilters=new setFilters,a=Sizzle.tokenize=function(t,e){var n,r,o,a,s,l,u,c=E[t+" "];if(c)return e?0:c.slice(0);for(s=t,l=[],u=i.preFilter;s;){n&&!(r=B.exec(s))||(r&&(s=s.slice(r[0].length)||s),l.push(o=[])),n=!1,(r=V.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||u[a]&&!(r=u[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return e?s.length:s?Sizzle.error(t):E(t,l).slice(0)},s=Sizzle.compile=function(t,e){var n,i=[],r=[],o=S[t+" "];if(!o){for(e||(e=a(t)),n=e.length;n--;)o=matcherFromTokens(e[n]),o[w]?i.push(o):r.push(o);o=S(t,matcherFromGroupMatchers(r,i)),o.selector=t}return o},l=Sizzle.select=function(t,e,r,o){var l,u,c,d,f,h="function"==typeof t&&t,p=!o&&a(t=h.selector||t);if(r=r||[],1===p.length){if(u=p[0]=p[0].slice(0),u.length>2&&"ID"===(c=u[0]).type&&n.getById&&9===e.nodeType&&g&&i.relative[u[1].type]){if(!(e=(i.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return r;h&&(e=e.parentNode),t=t.slice(u.shift().value.length)}for(l=U.needsContext.test(t)?0:u.length;l--&&(c=u[l],!i.relative[d=c.type]);)if((f=i.find[d])&&(o=f(c.matches[0].replace(et,nt),Z.test(u[0].type)&&testContext(e.parentNode)||e))){if(u.splice(l,1),!(t=o.length&&toSelector(u)))return M.apply(r,o),r;break}}return(h||s(t,p))(o,e,!g,r,!e||Z.test(t)&&testContext(e.parentNode)||e),r},n.sortStable=w.split("").sort(_).join("")===w,n.detectDuplicates=!!d,f(),n.sortDetached=assert(function(t){return 1&t.compareDocumentPosition(h.createElement("div"))}),assert(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||addHandle("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&assert(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||addHandle("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),assert(function(t){return null==t.getAttribute("disabled")})||addHandle(L,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),Sizzle}(n);v.find=x,v.expr=x.selectors,v.expr[":"]=v.expr.pseudos,v.uniqueSort=v.unique=x.uniqueSort,v.text=x.getText,v.isXMLDoc=x.isXML,v.contains=x.contains;var T=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&v(t).is(n))break;i.push(t)}return i},C=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},k=v.expr.match.needsContext,E=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,S=/^.[^:#\[\.,]*$/;v.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?v.find.matchesSelector(i,t)?[i]:[]:v.find.matches(t,v.grep(e,function(t){return 1===t.nodeType}))},v.fn.extend({find:function(t){var e,n=this.length,i=[],r=this;if("string"!=typeof t)return this.pushStack(v(t).filter(function(){for(e=0;e<n;e++)if(v.contains(r[e],this))return!0}));for(e=0;e<n;e++)v.find(t,r[e],i);return i=this.pushStack(n>1?v.unique(i):i),i.selector=this.selector?this.selector+" "+t:t,i},filter:function(t){return this.pushStack(winnow(this,t||[],!1))},not:function(t){return this.pushStack(winnow(this,t||[],!0))},is:function(t){return!!winnow(this,"string"==typeof t&&k.test(t)?v(t):t||[],!1).length}});var _,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(v.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||_,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:A.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof v?e[0]:e,v.merge(this,v.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:s,!0)),E.test(i[1])&&v.isPlainObject(e))for(i in e)v.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return r=s.getElementById(i[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=s,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):v.isFunction(t)?void 0!==n.ready?n.ready(t):t(v):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),v.makeArray(t,this))}).prototype=v.fn,_=v(s);var P=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({has:function(t){var e=v(t,this),n=e.length;return this.filter(function(){for(var t=0;t<n;t++)if(v.contains(this,e[t]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],a=k.test(t)||"string"!=typeof t?v(t,e||this.context):0;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&v.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?v.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?d.call(v(t),this[0]):d.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(v.uniqueSort(v.merge(this.get(),v(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),v.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return T(t,"parentNode")},parentsUntil:function(t,e,n){return T(t,"parentNode",n)},next:function(t){return sibling(t,"nextSibling")},prev:function(t){return sibling(t,"previousSibling")},nextAll:function(t){return T(t,"nextSibling")},prevAll:function(t){return T(t,"previousSibling")},nextUntil:function(t,e,n){return T(t,"nextSibling",n)},prevUntil:function(t,e,n){return T(t,"previousSibling",n)},siblings:function(t){return C((t.parentNode||{}).firstChild,t)},children:function(t){return C(t.firstChild)},contents:function(t){return t.contentDocument||v.merge([],t.childNodes)}},function(t,e){v.fn[t]=function(n,i){var r=v.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=v.filter(i,r)),this.length>1&&(D[t]||v.uniqueSort(r),P.test(t)&&r.reverse()),this.pushStack(r)}});var O=/\S+/g;v.Callbacks=function(t){t="string"==typeof t?createOptions(t):v.extend({},t);var e,n,i,r,o=[],a=[],s=-1,l=function(){for(r=t.once,i=e=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&t.stopOnFalse&&(s=o.length,n=!1);t.memory||(n=!1),e=!1,r&&(o=n?[]:"")},u={add:function(){return o&&(n&&!e&&(s=o.length-1,a.push(n)),function add(e){v.each(e,function(e,n){v.isFunction(n)?t.unique&&u.has(n)||o.push(n):n&&n.length&&"string"!==v.type(n)&&add(n)})}(arguments),n&&!e&&l()),this},remove:function(){return v.each(arguments,function(t,e){for(var n;(n=v.inArray(e,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(t){return t?v.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=a=[],n||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=n||[],n=[t,n.slice?n.slice():n],a.push(n),e||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},v.extend({Deferred:function(t){var e=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return v.Deferred(function(n){v.each(e,function(e,o){var a=v.isFunction(t[e])&&t[e];r[o[1]](function(){var t=a&&a.apply(this,arguments);t&&v.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===i?n.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?v.extend(t,i):i}},r={};return i.pipe=i.then,v.each(e,function(t,o){var a=o[2],s=o[3];i[o[1]]=a.add,s&&a.add(function(){n=s},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=a.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=l.call(arguments),a=o.length,s=1!==a||t&&v.isFunction(t.promise)?a:0,u=1===s?t:v.Deferred(),c=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?l.call(arguments):r,i===e?u.notifyWith(n,i):--s||u.resolveWith(n,i)}};if(a>1)for(e=new Array(a),n=new Array(a),i=new Array(a);r<a;r++)o[r]&&v.isFunction(o[r].promise)?o[r].promise().progress(c(r,n,e)).done(c(r,i,o)).fail(u.reject):--s;return s||u.resolveWith(i,o),u.promise()}});var N;v.fn.ready=function(t){return v.ready.promise().done(t),this},v.extend({isReady:!1,readyWait:1,holdReady:function(t){t?v.readyWait++:v.ready(!0)},ready:function(t){(!0===t?--v.readyWait:v.isReady)||(v.isReady=!0,!0!==t&&--v.readyWait>0||(N.resolveWith(s,[v]),v.fn.triggerHandler&&(v(s).triggerHandler("ready"),v(s).off("ready"))))}}),v.ready.promise=function(t){return N||(N=v.Deferred(),"complete"===s.readyState||"loading"!==s.readyState&&!s.documentElement.doScroll?n.setTimeout(v.ready):(s.addEventListener("DOMContentLoaded",completed),n.addEventListener("load",completed))),N.promise(t)},v.ready.promise();var M=function(t,e,n,i,r,o,a){var s=0,l=t.length,u=null==n;if("object"===v.type(n)){r=!0;for(s in n)M(t,e,s,n[s],!0,o,a)}else if(void 0!==i&&(r=!0,v.isFunction(i)||(a=!0),u&&(a?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(v(t),n)})),e))for(;s<l;s++)e(t[s],n,a?i:i.call(t[s],s,e(t[s],n)));return r?t:u?e.call(t):l?e(t[0],n):o},I=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};Data.uid=1,Data.prototype={register:function(t,e){var n=e||{};return t.nodeType?t[this.expando]=n:Object.defineProperty(t,this.expando,{value:n,writable:!0,configurable:!0}),t[this.expando]},cache:function(t){if(!I(t))return{};var e=t[this.expando];return e||(e={},I(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"==typeof e)r[e]=n;else for(i in e)r[i]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][e]},access:function(t,e,n){var i;return void 0===e||e&&"string"==typeof e&&void 0===n?(i=this.get(t,e),void 0!==i?i:this.get(t,v.camelCase(e))):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i,r,o=t[this.expando];if(void 0!==o){if(void 0===e)this.register(t);else{v.isArray(e)?i=e.concat(e.map(v.camelCase)):(r=v.camelCase(e),e in o?i=[e,r]:(i=r,i=i in o?[i]:i.match(O)||[])),n=i.length;for(;n--;)delete o[i[n]]}(void 0===e||v.isEmptyObject(o))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!v.isEmptyObject(e)}};var R=new Data,L=new Data,z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,F=/[A-Z]/g;v.extend({hasData:function(t){return L.hasData(t)||R.hasData(t)},data:function(t,e,n){return L.access(t,e,n)},removeData:function(t,e){L.remove(t,e)},_data:function(t,e,n){return R.access(t,e,n)},_removeData:function(t,e){R.remove(t,e)}}),v.fn.extend({data:function(t,e){var n,i,r,o=this[0],a=o&&o.attributes;if(void 0===t){if(this.length&&(r=L.get(o),1===o.nodeType&&!R.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(i=a[n].name,0===i.indexOf("data-")&&(i=v.camelCase(i.slice(5)),dataAttr(o,i,r[i])));R.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each(function(){L.set(this,t)}):M(this,function(e){var n,i;if(o&&void 0===e){if(void 0!==(n=L.get(o,t)||L.get(o,t.replace(F,"-$&").toLowerCase())))return n;if(i=v.camelCase(t),void 0!==(n=L.get(o,i)))return n;if(void 0!==(n=dataAttr(o,i,void 0)))return n}else i=v.camelCase(t),this.each(function(){var n=L.get(this,i);L.set(this,i,e),t.indexOf("-")>-1&&void 0!==n&&L.set(this,t,e)})},null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){L.remove(this,t)})}}),v.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=R.get(t,e),n&&(!i||v.isArray(n)?i=R.access(t,e,v.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=v.queue(t,e),i=n.length,r=n.shift(),o=v._queueHooks(t,e),a=function(){v.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,a,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return R.get(t,n)||R.access(t,n,{empty:v.Callbacks("once memory").add(function(){R.remove(t,[e+"queue",n])})})}}),v.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?v.queue(this[0],t):void 0===e?this:this.each(function(){var n=v.queue(this,t,e);v._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&v.dequeue(this,t)})},dequeue:function(t){return this.each(function(){v.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=v.Deferred(),o=this,a=this.length,s=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(n=R.get(o[a],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),r.promise(e)}});var q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,H=new RegExp("^(?:([+-])=|)("+q+")([a-z%]*)$","i"),j=["Top","Right","Bottom","Left"],W=function(t,e){return t=e||t,"none"===v.css(t,"display")||!v.contains(t.ownerDocument,t)},B=/^(?:checkbox|radio)$/i,V=/<([\w:-]+)/,X=/^$|\/(?:java|ecma)script/i,$={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};$.optgroup=$.option,$.tbody=$.tfoot=$.colgroup=$.caption=$.thead,$.th=$.td;var Y=/<|&#?\w+;/;!function(){var t=s.createDocumentFragment(),e=t.appendChild(s.createElement("div")),n=s.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),g.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var U=/^key/,Q=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,G=/^([^.]*)(?:\.(.+)|)/;v.event={global:{},add:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,h,p,g,m=R.get(t);if(m)for(n.handler&&(o=n,n=o.handler,r=o.selector),n.guid||(n.guid=v.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(e){return void 0!==v&&v.event.triggered!==e.type?v.event.dispatch.apply(t,arguments):void 0}),e=(e||"").match(O)||[""],u=e.length;u--;)s=G.exec(e[u])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h&&(d=v.event.special[h]||{},h=(r?d.delegateType:d.bindType)||h,d=v.event.special[h]||{},c=v.extend({type:h,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&v.expr.match.needsContext.test(r),namespace:p.join(".")},o),(f=l[h])||(f=l[h]=[],f.delegateCount=0,d.setup&&!1!==d.setup.call(t,i,p,a)||t.addEventListener&&t.addEventListener(h,a)),d.add&&(d.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,c):f.push(c),v.event.global[h]=!0)},remove:function(t,e,n,i,r){var o,a,s,l,u,c,d,f,h,p,g,m=R.hasData(t)&&R.get(t);if(m&&(l=m.events)){for(e=(e||"").match(O)||[""],u=e.length;u--;)if(s=G.exec(e[u])||[],h=g=s[1],p=(s[2]||"").split(".").sort(),h){for(d=v.event.special[h]||{},h=(i?d.delegateType:d.bindType)||h,f=l[h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)c=f[o],!r&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||i&&i!==c.selector&&("**"!==i||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(t,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(t,p,m.handle)||v.removeEvent(t,h,m.handle),delete l[h])}else for(h in l)v.event.remove(t,h+e[u],n,i,!0);v.isEmptyObject(l)&&R.remove(t,"handle events")}},dispatch:function(t){t=v.event.fix(t);var e,n,i,r,o,a=[],s=l.call(arguments),u=(R.get(this,"events")||{})[t.type]||[],c=v.event.special[t.type]||{};if(s[0]=t,t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(a=v.event.handlers.call(this,t,u),e=0;(r=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,void 0!==(i=((v.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,s))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,a=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(i=[],n=0;n<s;n++)o=e[n],r=o.selector+" ",void 0===i[r]&&(i[r]=o.needsContext?v(r,this).index(l)>-1:v.find(r,this,null,[l]).length),i[r]&&i.push(o);i.length&&a.push({elem:l,handlers:i})}return s<e.length&&a.push({elem:this,handlers:e.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button;return null==t.pageX&&null!=e.clientX&&(n=t.target.ownerDocument||s,i=n.documentElement,r=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||r&&r.scrollLeft||0)-(i&&i.clientLeft||r&&r.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||r&&r.scrollTop||0)-(i&&i.clientTop||r&&r.clientTop||0)),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},fix:function(t){if(t[v.expando])return t;var e,n,i,r=t.type,o=t,a=this.fixHooks[r];for(a||(this.fixHooks[r]=a=Q.test(r)?this.mouseHooks:U.test(r)?this.keyHooks:{}),i=a.props?this.props.concat(a.props):this.props,t=new v.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=s),3===t.target.nodeType&&(t.target=t.target.parentNode),a.filter?a.filter(t,o):t},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==safeActiveElement()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===safeActiveElement()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&v.nodeName(this,"input"))return this.click(),!1},_default:function(t){return v.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},v.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},v.Event=function(t,e){if(!(this instanceof v.Event))return new v.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?returnTrue:returnFalse):this.type=t,e&&v.extend(this,e),this.timeStamp=t&&t.timeStamp||v.now(),this[v.expando]=!0},v.Event.prototype={constructor:v.Event,isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=returnTrue,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=returnTrue,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=returnTrue,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},v.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){v.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return r&&(r===i||v.contains(i,r))||(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),v.fn.extend({on:function(t,e,n,i){return on(this,t,e,n,i)},one:function(t,e,n,i){return on(this,t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,v(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=returnFalse),this.each(function(){v.event.remove(this,t,n,e)})}});var K=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,J=/<script|<style|<link/i,Z=/checked\s*(?:[^=]|=\s*.checked.)/i,tt=/^true\/(.*)/,et=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;v.extend({htmlPrefilter:function(t){return t.replace(K,"<$1></$2>")},clone:function(t,e,n){var i,r,o,a,s=t.cloneNode(!0),l=v.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||v.isXMLDoc(t)))for(a=getAll(s),o=getAll(t),i=0,r=o.length;i<r;i++)fixInput(o[i],a[i]);if(e)if(n)for(o=o||getAll(t),a=a||getAll(s),i=0,r=o.length;i<r;i++)cloneCopyEvent(o[i],a[i]);else cloneCopyEvent(t,s);return a=getAll(s,"script"),a.length>0&&setGlobalEval(a,!l&&getAll(t,"script")),s},cleanData:function(t){for(var e,n,i,r=v.event.special,o=0;void 0!==(n=t[o]);o++)if(I(n)){if(e=n[R.expando]){if(e.events)for(i in e.events)r[i]?v.event.remove(n,i):v.removeEvent(n,i,e.handle);n[R.expando]=void 0}n[L.expando]&&(n[L.expando]=void 0)}}}),v.fn.extend({domManip:domManip,detach:function(t){return remove(this,t,!0)},remove:function(t){return remove(this,t)},text:function(t){return M(this,function(t){return void 0===t?v.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)})},null,t,arguments.length)},append:function(){return domManip(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){manipulationTarget(this,t).appendChild(t)}})},prepend:function(){return domManip(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=manipulationTarget(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return domManip(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return domManip(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(v.cleanData(getAll(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return v.clone(this,t,e)})},html:function(t){return M(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!J.test(t)&&!$[(V.exec(t)||["",""])[1].toLowerCase()]){t=v.htmlPrefilter(t);try{for(;n<i;n++)e=this[n]||{},1===e.nodeType&&(v.cleanData(getAll(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=[];return domManip(this,arguments,function(e){var n=this.parentNode;v.inArray(this,t)<0&&(v.cleanData(getAll(this)),n&&n.replaceChild(e,this))},t)}}),v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){v.fn[t]=function(t){for(var n,i=[],r=v(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),v(r[a])[e](n),c.apply(i,n.get());return this.pushStack(i)}});var nt,it={HTML:"block",BODY:"block"},rt=/^margin/,ot=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),at=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=n),e.getComputedStyle(t)},st=function(t,e,n,i){var r,o,a={};for(o in e)a[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=a[o];return r},lt=s.documentElement;!function(){function computeStyleTests(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",lt.appendChild(o);var s=n.getComputedStyle(a);t="1%"!==s.top,r="2px"===s.marginLeft,e="4px"===s.width,a.style.marginRight="50%",i="4px"===s.marginRight,lt.removeChild(o)}var t,e,i,r,o=s.createElement("div"),a=s.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(a),v.extend(g,{pixelPosition:function(){return computeStyleTests(),t},boxSizingReliable:function(){return null==e&&computeStyleTests(),e},pixelMarginRight:function(){return null==e&&computeStyleTests(),i},reliableMarginLeft:function(){return null==e&&computeStyleTests(),r},reliableMarginRight:function(){var t,e=a.appendChild(s.createElement("div"));return e.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",a.style.width="1px",lt.appendChild(o),t=!parseFloat(n.getComputedStyle(e).marginRight),lt.removeChild(o),a.removeChild(e),t}}))}();var ut=/^(none|table(?!-c[ea]).+)/,ct={position:"absolute",visibility:"hidden",display:"block"},dt={letterSpacing:"0",fontWeight:"400"},ft=["Webkit","O","Moz","ms"],ht=s.createElement("div").style;v.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=curCSS(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=v.camelCase(e),l=t.style;if(e=v.cssProps[s]||(v.cssProps[s]=vendorPropName(s)||s),a=v.cssHooks[e]||v.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e];o=typeof n,"string"===o&&(r=H.exec(n))&&r[1]&&(n=adjustCSS(t,e,r),o="number"),null!=n&&n===n&&("number"===o&&(n+=r&&r[3]||(v.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),a&&"set"in a&&void 0===(n=a.set(t,n,i))||(l[e]=n))}},css:function(t,e,n,i){var r,o,a,s=v.camelCase(e);return e=v.cssProps[s]||(v.cssProps[s]=vendorPropName(s)||s),a=v.cssHooks[e]||v.cssHooks[s],a&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=curCSS(t,e,i)),"normal"===r&&e in dt&&(r=dt[e]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),v.each(["height","width"],function(t,e){v.cssHooks[e]={get:function(t,n,i){if(n)return ut.test(v.css(t,"display"))&&0===t.offsetWidth?st(t,ct,function(){return getWidthOrHeight(t,e,i)}):getWidthOrHeight(t,e,i)},set:function(t,n,i){var r,o=i&&at(t),a=i&&augmentWidthOrHeight(t,e,i,"border-box"===v.css(t,"boxSizing",!1,o),o);return a&&(r=H.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=v.css(t,e)),setPositiveNumber(t,n,a)}}}),v.cssHooks.marginLeft=addGetHookIf(g.reliableMarginLeft,function(t,e){if(e)return(parseFloat(curCSS(t,"marginLeft"))||t.getBoundingClientRect().left-st(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),v.cssHooks.marginRight=addGetHookIf(g.reliableMarginRight,function(t,e){if(e)return st(t,{display:"inline-block"},curCSS,[t,"marginRight"])}),v.each({margin:"",padding:"",border:"Width"},function(t,e){v.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+j[i]+e]=o[i]||o[i-2]||o[0];return r}},rt.test(t)||(v.cssHooks[t+e].set=setPositiveNumber)}),v.fn.extend({css:function(t,e){return M(this,function(t,e,n){var i,r,o={},a=0;if(v.isArray(e)){for(i=at(t),r=e.length;a<r;a++)o[e[a]]=v.css(t,e[a],!1,i);return o}return void 0!==n?v.style(t,e,n):v.css(t,e)},t,e,arguments.length>1)},show:function(){return showHide(this,!0)},hide:function(){return showHide(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){W(this)?v(this).show():v(this).hide()})}}),v.Tween=Tween,Tween.prototype={constructor:Tween,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||v.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(v.cssNumber[n]?"":"px")},cur:function(){var t=Tween.propHooks[this.prop];return t&&t.get?t.get(this):Tween.propHooks._default.get(this)},run:function(t){var e,n=Tween.propHooks[this.prop];return this.options.duration?this.pos=e=v.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Tween.propHooks._default.set(this),this}},Tween.prototype.init.prototype=Tween.prototype,Tween.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=v.css(t.elem,t.prop,""),e&&"auto"!==e?e:0)},set:function(t){v.fx.step[t.prop]?v.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[v.cssProps[t.prop]]&&!v.cssHooks[t.prop]?t.elem[t.prop]=t.now:v.style(t.elem,t.prop,t.now+t.unit)}}},Tween.propHooks.scrollTop=Tween.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},v.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},v.fx=Tween.prototype.init,v.fx.step={};var pt,gt,vt=/^(?:toggle|show|hide)$/,mt=/queueHooks$/;v.Animation=v.extend(Animation,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return adjustCSS(n.elem,t,H.exec(e),n),n}]},tweener:function(t,e){v.isFunction(t)?(e=t,t=["*"]):t=t.match(O);for(var n,i=0,r=t.length;i<r;i++)n=t[i],Animation.tweeners[n]=Animation.tweeners[n]||[],Animation.tweeners[n].unshift(e)},prefilters:[defaultPrefilter],prefilter:function(t,e){e?Animation.prefilters.unshift(t):Animation.prefilters.push(t)}}),v.speed=function(t,e,n){var i=t&&"object"==typeof t?v.extend({},t):{complete:n||!n&&e||v.isFunction(t)&&t,duration:t,easing:n&&e||e&&!v.isFunction(e)&&e};return i.duration=v.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in v.fx.speeds?v.fx.speeds[i.duration]:v.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){v.isFunction(i.old)&&i.old.call(this),i.queue&&v.dequeue(this,i.queue)},i},v.fn.extend({fadeTo:function(t,e,n,i){return this.filter(W).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=v.isEmptyObject(t),o=v.speed(e,n,i),a=function(){var e=Animation(this,v.extend({},t),o);(r||R.get(this,"finish"))&&e.stop(!0)};return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=v.timers,a=R.get(this);if(r)a[r]&&a[r].stop&&i(a[r]);else for(r in a)a[r]&&a[r].stop&&mt.test(r)&&i(a[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));!e&&n||v.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=R.get(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=v.timers,a=i?i.length:0;for(n.finish=!0,v.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<a;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),v.each(["toggle","show","hide"],function(t,e){var n=v.fn[e];v.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(genFx(e,!0),t,i,r)}}),v.each({slideDown:genFx("show"),slideUp:genFx("hide"),slideToggle:genFx("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){v.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),v.timers=[],v.fx.tick=function(){var t,e=0,n=v.timers;for(pt=v.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||v.fx.stop(),pt=void 0},v.fx.timer=function(t){v.timers.push(t),t()?v.fx.start():v.timers.pop()},v.fx.interval=13,v.fx.start=function(){gt||(gt=n.setInterval(v.fx.tick,v.fx.interval))},v.fx.stop=function(){n.clearInterval(gt),gt=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fn.delay=function(t,e){return t=v.fx?v.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var r=n.setTimeout(e,t);i.stop=function(){n.clearTimeout(r)}})},function(){var t=s.createElement("input"),e=s.createElement("select"),n=e.appendChild(s.createElement("option"));t.type="checkbox",g.checkOn=""!==t.value,g.optSelected=n.selected,e.disabled=!0,g.optDisabled=!n.disabled,t=s.createElement("input"),t.value="t",t.type="radio",g.radioValue="t"===t.value}();var yt,bt=v.expr.attrHandle;v.fn.extend({attr:function(t,e){return M(this,v.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){v.removeAttr(this,t)})}}),v.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?v.prop(t,e,n):(1===o&&v.isXMLDoc(t)||(e=e.toLowerCase(),r=v.attrHooks[e]||(v.expr.match.bool.test(e)?yt:void 0)),void 0!==n?null===n?void v.removeAttr(t,e):r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(i=r.get(t,e))?i:(i=v.find.attr(t,e),null==i?void 0:i))},attrHooks:{type:{set:function(t,e){if(!g.radioValue&&"radio"===e&&v.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(O);if(o&&1===t.nodeType)for(;n=o[r++];)i=v.propFix[n]||n,v.expr.match.bool.test(n)&&(t[i]=!1),t.removeAttribute(n)}}),yt={set:function(t,e,n){return!1===e?v.removeAttr(t,n):t.setAttribute(n,n),n}},v.each(v.expr.match.bool.source.match(/\w+/g),function(t,e){var n=bt[e]||v.find.attr;bt[e]=function(t,e,i){var r,o;return i||(o=bt[e],bt[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,bt[e]=o),r}});var wt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;v.fn.extend({prop:function(t,e){return M(this,v.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each(function(){delete this[v.propFix[t]||t]})}}),v.extend({prop:function(t,e,n){var i,r,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&v.isXMLDoc(t)||(e=v.propFix[e]||e,r=v.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=v.find.attr(t,"tabindex");return e?parseInt(e,10):wt.test(t.nodeName)||xt.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(v.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),v.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){v.propFix[this.toLowerCase()]=this});var Tt=/[\t\r\n\f]/g;v.fn.extend({addClass:function(t){var e,n,i,r,o,a,s,l=0;if(v.isFunction(t))return this.each(function(e){v(this).addClass(t.call(this,e,getClass(this)))});if("string"==typeof t&&t)for(e=t.match(O)||[];n=this[l++];)if(r=getClass(n),i=1===n.nodeType&&(" "+r+" ").replace(Tt," ")){for(a=0;o=e[a++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");s=v.trim(i),r!==s&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,i,r,o,a,s,l=0;if(v.isFunction(t))return this.each(function(e){v(this).removeClass(t.call(this,e,getClass(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(O)||[];n=this[l++];)if(r=getClass(n),i=1===n.nodeType&&(" "+r+" ").replace(Tt," ")){for(a=0;o=e[a++];)for(;i.indexOf(" "+o+" ")>-1;)i=i.replace(" "+o+" "," ");s=v.trim(i),r!==s&&n.setAttribute("class",s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):v.isFunction(t)?this.each(function(n){v(this).toggleClass(t.call(this,n,getClass(this),e),e)}):this.each(function(){var e,i,r,o;if("string"===n)for(i=0,r=v(this),o=t.match(O)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else void 0!==t&&"boolean"!==n||(e=getClass(this),e&&R.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":R.get(this,"__className__")||""))})},hasClass:function(t){var e,n,i=0;for(e=" "+t+" ";n=this[i++];)if(1===n.nodeType&&(" "+getClass(n)+" ").replace(Tt," ").indexOf(e)>-1)return!0;return!1}});var Ct=/\r/g,kt=/[\x20\t\r\n\f]+/g;v.fn.extend({val:function(t){var e,n,i,r=this[0];{if(arguments.length)return i=v.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,v(this).val()):t,null==r?r="":"number"==typeof r?r+="":v.isArray(r)&&(r=v.map(r,function(t){return null==t?"":t+""})),(e=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))});if(r)return(e=v.valHooks[r.type]||v.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(Ct,""):null==n?"":n)}}}),v.extend({valHooks:{option:{get:function(t){var e=v.find.attr(t,"value");return null!=e?e:v.trim(v.text(t)).replace(kt," ")}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||r<0,a=o?null:[],s=o?r+1:i.length,l=r<0?s:o?r:0;l<s;l++)if(n=i[l],(n.selected||l===r)&&(g.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!v.nodeName(n.parentNode,"optgroup"))){if(e=v(n).val(),o)return e;a.push(e)}return a},set:function(t,e){for(var n,i,r=t.options,o=v.makeArray(e),a=r.length;a--;)i=r[a],(i.selected=v.inArray(v.valHooks.option.get(i),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]={set:function(t,e){if(v.isArray(e))return t.checked=v.inArray(v(t).val(),e)>-1}},g.checkOn||(v.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var Et=/^(?:focusinfocus|focusoutblur)$/;v.extend(v.event,{trigger:function(t,e,i,r){var o,a,l,u,c,d,f,h=[i||s],g=p.call(t,"type")?t.type:t,m=p.call(t,"namespace")?t.namespace.split("."):[];if(a=l=i=i||s,3!==i.nodeType&&8!==i.nodeType&&!Et.test(g+v.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),c=g.indexOf(":")<0&&"on"+g,t=t[v.expando]?t:new v.Event(g,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),e=null==e?[t]:v.makeArray(e,[t]),f=v.event.special[g]||{},r||!f.trigger||!1!==f.trigger.apply(i,e))){if(!r&&!f.noBubble&&!v.isWindow(i)){for(u=f.delegateType||g,Et.test(u+g)||(a=a.parentNode);a;a=a.parentNode)h.push(a),l=a;l===(i.ownerDocument||s)&&h.push(l.defaultView||l.parentWindow||n)}for(o=0;(a=h[o++])&&!t.isPropagationStopped();)t.type=o>1?u:f.bindType||g,d=(R.get(a,"events")||{})[t.type]&&R.get(a,"handle"),d&&d.apply(a,e),(d=c&&a[c])&&d.apply&&I(a)&&(t.result=d.apply(a,e),!1===t.result&&t.preventDefault());return t.type=g,r||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),e)||!I(i)||c&&v.isFunction(i[g])&&!v.isWindow(i)&&(l=i[c],l&&(i[c]=null),v.event.triggered=g,i[g](),v.event.triggered=void 0,l&&(i[c]=l)),t.result}},simulate:function(t,e,n){var i=v.extend(new v.Event,n,{type:t,isSimulated:!0});v.event.trigger(i,null,e)}}),v.fn.extend({trigger:function(t,e){return this.each(function(){v.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return v.event.trigger(t,e,n,!0)}}),v.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){v.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),v.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),g.focusin="onfocusin"in n,g.focusin||v.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){v.event.simulate(e,t.target,v.event.fix(t))};v.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=R.access(i,e);r||i.addEventListener(t,n,!0),R.access(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=R.access(i,e)-1;r?R.access(i,e,r):(i.removeEventListener(t,n,!0),R.remove(i,e))}}});var St=n.location,_t=v.now(),At=/\?/;v.parseJSON=function(t){return JSON.parse(t+"")},v.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{e=(new n.DOMParser).parseFromString(t,"text/xml")}catch(t){e=void 0}return e&&!e.getElementsByTagName("parsererror").length||v.error("Invalid XML: "+t),e};var Pt=/#.*$/,Dt=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Nt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,It=/^\/\//,Rt={},Lt={},zt="*/".concat("*"),Ft=s.createElement("a");Ft.href=St.href,v.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:Nt.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ajaxExtend(ajaxExtend(t,v.ajaxSettings),e):ajaxExtend(v.ajaxSettings,t)},ajaxPrefilter:addToPrefiltersOrTransports(Rt),ajaxTransport:addToPrefiltersOrTransports(Lt),ajax:function(t,e){function done(t,e,a,s){var u,d,b,w,T,k=e;2!==x&&(x=2,l&&n.clearTimeout(l),i=void 0,o=s||"",C.readyState=t>0?4:0,u=t>=200&&t<300||304===t,a&&(w=ajaxHandleResponses(f,C,a)),w=ajaxConvert(f,w,C,u),u?(f.ifModified&&(T=C.getResponseHeader("Last-Modified"),T&&(v.lastModified[r]=T),(T=C.getResponseHeader("etag"))&&(v.etag[r]=T)),204===t||"HEAD"===f.type?k="nocontent":304===t?k="notmodified":(k=w.state,d=w.data,b=w.error,u=!b)):(b=k,!t&&k||(k="error",t<0&&(t=0))),C.status=t,C.statusText=(e||k)+"",u?g.resolveWith(h,[d,k,C]):g.rejectWith(h,[C,k,b]),C.statusCode(y),y=void 0,c&&p.trigger(u?"ajaxSuccess":"ajaxError",[C,f,u?d:b]),m.fireWith(h,[C,k]),c&&(p.trigger("ajaxComplete",[C,f]),--v.active||v.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,r,o,a,l,u,c,d,f=v.ajaxSetup({},e),h=f.context||f,p=f.context&&(h.nodeType||h.jquery)?v(h):v.event,g=v.Deferred(),m=v.Callbacks("once memory"),y=f.statusCode||{},b={},w={},x=0,T="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(2===x){if(!a)for(a={};e=Ot.exec(o);)a[e[1].toLowerCase()]=e[2];e=a[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===x?o:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return x||(t=w[n]=w[n]||t,b[t]=e),this},overrideMimeType:function(t){return x||(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(x<2)for(e in t)y[e]=[y[e],t[e]];else C.always(t[C.status]);return this},abort:function(t){var e=t||T;return i&&i.abort(e),done(0,e),this}};if(g.promise(C).complete=m.add,C.success=C.done,C.error=C.fail,f.url=((t||f.url||St.href)+"").replace(Pt,"").replace(It,St.protocol+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=v.trim(f.dataType||"*").toLowerCase().match(O)||[""],null==f.crossDomain){u=s.createElement("a");try{u.href=f.url,u.href=u.href,f.crossDomain=Ft.protocol+"//"+Ft.host!=u.protocol+"//"+u.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=v.param(f.data,f.traditional)),inspectPrefiltersOrTransports(Rt,f,e,C),2===x)return C;c=v.event&&f.global,c&&0==v.active++&&v.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Mt.test(f.type),r=f.url,f.hasContent||(f.data&&(r=f.url+=(At.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=Dt.test(r)?r.replace(Dt,"$1_="+_t++):r+(At.test(r)?"&":"?")+"_="+_t++)),f.ifModified&&(v.lastModified[r]&&C.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&C.setRequestHeader("If-None-Match",v.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+zt+"; q=0.01":""):f.accepts["*"]);for(d in f.headers)C.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,C,f)||2===x))return C.abort();T="abort";for(d in{success:1,error:1,complete:1})C[d](f[d]);if(i=inspectPrefiltersOrTransports(Lt,f,e,C)){if(C.readyState=1,c&&p.trigger("ajaxSend",[C,f]),2===x)return C;f.async&&f.timeout>0&&(l=n.setTimeout(function(){C.abort("timeout")},f.timeout));try{x=1,i.send(b,done)}catch(t){if(!(x<2))throw t;done(-1,t)}}else done(-1,"No Transport");return C},getJSON:function(t,e,n){return v.get(t,e,n,"json")},getScript:function(t,e){return v.get(t,void 0,e,"script")}}),v.each(["get","post"],function(t,e){v[e]=function(t,n,i,r){return v.isFunction(n)&&(r=r||i,i=n,n=void 0),v.ajax(v.extend({url:t,type:e,dataType:r,data:n,success:i},v.isPlainObject(t)&&t))}}),v._evalUrl=function(t){return v.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},v.fn.extend({wrapAll:function(t){var e;return v.isFunction(t)?this.each(function(e){v(this).wrapAll(t.call(this,e))}):(this[0]&&(e=v(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t}).append(this)),this)},wrapInner:function(t){return v.isFunction(t)?this.each(function(e){v(this).wrapInner(t.call(this,e))}):this.each(function(){var e=v(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=v.isFunction(t);return this.each(function(n){v(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()}}),v.expr.filters.hidden=function(t){return!v.expr.filters.visible(t)},v.expr.filters.visible=function(t){return t.offsetWidth>0||t.offsetHeight>0||t.getClientRects().length>0};var qt=/%20/g,Ht=/\[\]$/,jt=/\r?\n/g,Wt=/^(?:submit|button|image|reset|file)$/i,Bt=/^(?:input|select|textarea|keygen)/i;v.param=function(t,e){var n,i=[],r=function(t,e){e=v.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=v.ajaxSettings&&v.ajaxSettings.traditional),v.isArray(t)||t.jquery&&!v.isPlainObject(t))v.each(t,function(){r(this.name,this.value)});else for(n in t)buildParams(n,t[n],e,r);return i.join("&").replace(qt,"+")},v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=v.prop(this,"elements");return t?v.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!v(this).is(":disabled")&&Bt.test(this.nodeName)&&!Wt.test(t)&&(this.checked||!B.test(t))}).map(function(t,e){var n=v(this).val();return null==n?null:v.isArray(n)?v.map(n,function(t){return{name:e.name,value:t.replace(jt,"\r\n")}}):{name:e.name,value:n.replace(jt,"\r\n")}}).get()}}),v.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(t){}};var Vt={0:200,1223:204},Xt=v.ajaxSettings.xhr();g.cors=!!Xt&&"withCredentials"in Xt,g.ajax=Xt=!!Xt,v.ajaxTransport(function(t){var e,i;if(g.cors||Xt&&!t.crossDomain)return{send:function(r,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(a in r)s.setRequestHeader(a,r[a]);e=function(t){return function(){e&&(e=i=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===t?s.abort():"error"===t?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=e(),i=s.onerror=e("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){e&&i()})},e=e("abort");try{s.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return v.globalEval(t),t}}}),v.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")}),v.ajaxTransport("script",function(t){if(t.crossDomain){var e,n;return{send:function(i,r){e=v("<script>").prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),s.head.appendChild(e[0])},abort:function(){n&&n()}}}});var $t=[],Yt=/(=)\?(?=&|$)|\?\?/;v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=$t.pop()||v.expando+"_"+_t++;return this[t]=!0,t}}),v.ajaxPrefilter("json jsonp",function(t,e,i){var r,o,a,s=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=v.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Yt,"$1"+r):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return a||v.error(r+" was not called"),a[0]},t.dataTypes[0]="json",o=n[r],n[r]=function(){a=arguments},i.always(function(){void 0===o?v(n).removeProp(r):n[r]=o,t[r]&&(t.jsonpCallback=e.jsonpCallback,$t.push(r)),a&&v.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),v.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||s;var i=E.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=buildFragment([t],e,r),r&&r.length&&v(r).remove(),v.merge([],i.childNodes))};var Ut=v.fn.load;v.fn.load=function(t,e,n){if("string"!=typeof t&&Ut)return Ut.apply(this,arguments);var i,r,o,a=this,s=t.indexOf(" ");return s>-1&&(i=v.trim(t.slice(s)),t=t.slice(0,s)),v.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),a.length>0&&v.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done(function(t){o=arguments,a.html(i?v("<div>").append(v.parseHTML(t)).find(i):t)}).always(n&&function(t,e){a.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this},v.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){v.fn[e]=function(t){return this.on(e,t)}}),v.expr.filters.animated=function(t){return v.grep(v.timers,function(e){return t===e.elem}).length},v.offset={setOffset:function(t,e,n){var i,r,o,a,s,l,u,c=v.css(t,"position"),d=v(t),f={};"static"===c&&(t.style.position="relative"),s=d.offset(),o=v.css(t,"top"),l=v.css(t,"left"),u=("absolute"===c||"fixed"===c)&&(o+l).indexOf("auto")>-1,u?(i=d.position(),a=i.top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),v.isFunction(e)&&(e=e.call(t,n,v.extend({},s))),null!=e.top&&(f.top=e.top-s.top+a),null!=e.left&&(f.left=e.left-s.left+r),"using"in e?e.using.call(t,f):d.css(f)}},v.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){v.offset.setOffset(this,t,e)});var e,n,i=this[0],r={top:0,left:0},o=i&&i.ownerDocument;if(o)return e=o.documentElement,v.contains(e,i)?(r=i.getBoundingClientRect(),n=getWindow(o),{top:r.top+n.pageYOffset-e.clientTop,left:r.left+n.pageXOffset-e.clientLeft}):r},position:function(){if(this[0]){var t,e,n=this[0],i={top:0,left:0};return"fixed"===v.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),v.nodeName(t[0],"html")||(i=t.offset()),i.top+=v.css(t[0],"borderTopWidth",!0),i.left+=v.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-v.css(n,"marginTop",!0),left:e.left-i.left-v.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===v.css(t,"position");)t=t.offsetParent;return t||lt})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n="pageYOffset"===e;v.fn[t]=function(i){return M(this,function(t,i,r){var o=getWindow(t);if(void 0===r)return o?o[e]:t[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):t[i]=r},t,i,arguments.length)}}),v.each(["top","left"],function(t,e){v.cssHooks[e]=addGetHookIf(g.pixelPosition,function(t,n){if(n)return n=curCSS(t,e),ot.test(n)?v(t).position()[e]+"px":n})}),v.each({Height:"height",Width:"width"},function(t,e){v.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){v.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===r?"margin":"border");return M(this,function(e,n,i){var r;return v.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?v.css(e,n,a):v.style(e,n,i,a)},e,o?i:void 0,o,null)}})}),v.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},size:function(){return this.length}}),v.fn.andSelf=v.fn.addBack,i=[],void 0!==(r=function(){return v}.apply(e,i))&&(t.exports=r);var Qt=n.jQuery,Gt=n.$;return v.noConflict=function(t){return n.$===v&&(n.$=Gt),t&&n.jQuery===v&&(n.jQuery=Qt),v},o||(n.jQuery=n.$=v),v})},function(t,e,n){"use strict";(function(t){function escapeHtml(t){return String(t).replace(/[&<>"'\/]/g,function(t){return o[t]})}function mousePosition(e){var n=t.document.body,r={top:0,left:0};return"static"!==i(n).css("position")&&(r=i(n).offset()),{top:e.pageY-r.top,left:e.pageX-r.left}}var i=n(0),r=n(17).Promise,o={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},a=function(){if("function"==typeof t.Gettext){var e=new t.Gettext({domain:"annotator"});return function(t){return e.gettext(t)}}return function(t){return t}}();e.$=i,e.Promise=r,e.gettext=a,e.escapeHtml=escapeHtml,e.mousePosition=mousePosition}).call(e,n(2))},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";(function(t){function Widget(t){this.element=o(this.constructor.template),this.classes=o.extend({},Widget.classes,this.constructor.classes),this.options=o.extend({},Widget.options,this.constructor.options,t),this.extensionsInstalled=!1}var i=n(16),r=n(1),o=r.$;Widget.prototype.destroy=function(){this.element.remove()},Widget.prototype.installExtensions=function(){if(this.options.extensions)for(var t=0,e=this.options.extensions.length;t<e;t++){var n=this.options.extensions[t];n(this)}},Widget.prototype._maybeInstallExtensions=function(){this.extensionsInstalled||(this.extensionsInstalled=!0,this.installExtensions())},Widget.prototype.attach=function(){this.element.appendTo(this.options.appendTo),this._maybeInstallExtensions()},Widget.prototype.show=function(){this.element.removeClass(this.classes.hide),this.checkOrientation()},Widget.prototype.hide=function(){o(this.element).addClass(this.classes.hide)},Widget.prototype.isShown=function(){return!o(this.element).hasClass(this.classes.hide)},Widget.prototype.checkOrientation=function(){this.resetOrientation();var e=o(t),n=this.element.children(":first"),i=n.offset(),r={top:e.scrollTop(),right:e.width()+e.scrollLeft()},a={top:i.top,right:i.left+n.width()};return a.top-r.top<0&&this.invertY(),a.right-r.right>0&&this.invertX(),this},Widget.prototype.resetOrientation=function(){return this.element.removeClass(this.classes.invert.x).removeClass(this.classes.invert.y),this},Widget.prototype.invertX=function(){return this.element.addClass(this.classes.invert.x),this},Widget.prototype.invertY=function(){return this.element.addClass(this.classes.invert.y),this},Widget.prototype.isInvertedY=function(){return this.element.hasClass(this.classes.invert.y)},Widget.prototype.isInvertedX=function(){return this.element.hasClass(this.classes.invert.x)},Widget.classes={hide:"annotator-hide",invert:{x:"annotator-invert-x",y:"annotator-invert-y"}},Widget.template="<div></div>",Widget.options={appendTo:"body"},Widget.extend=i,e.Widget=Widget}).call(e,n(2))},function(t,e,n){var i;!function(r,o,a){function _addEvent(t,e,n){if(t.addEventListener)return void t.addEventListener(e,n,!1);t.attachEvent("on"+e,n)}function _characterFromEvent(t){if("keypress"==t.type){var e=String.fromCharCode(t.which);return t.shiftKey||(e=e.toLowerCase()),e}return l[t.which]?l[t.which]:u[t.which]?u[t.which]:String.fromCharCode(t.which).toLowerCase()}function _modifiersMatch(t,e){return t.sort().join(",")===e.sort().join(",")}function _eventModifiers(t){var e=[];return t.shiftKey&&e.push("shift"),t.altKey&&e.push("alt"),t.ctrlKey&&e.push("ctrl"),t.metaKey&&e.push("meta"),e}function _preventDefault(t){if(t.preventDefault)return void t.preventDefault();t.returnValue=!1}function _stopPropagation(t){if(t.stopPropagation)return void t.stopPropagation();t.cancelBubble=!0}function _isModifier(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function _getReverseMap(){if(!s){s={};for(var t in l)t>95&&t<112||l.hasOwnProperty(t)&&(s[l[t]]=t)}return s}function _pickBestAction(t,e,n){return n||(n=_getReverseMap()[t]?"keydown":"keypress"),"keypress"==n&&e.length&&(n="keydown"),n}function _keysFromString(t){return"+"===t?["+"]:(t=t.replace(/\+{2}/g,"+plus"),t.split("+"))}function _getKeyInfo(t,e){var n,i,r,o=[];for(n=_keysFromString(t),r=0;r<n.length;++r)i=n[r],d[i]&&(i=d[i]),e&&"keypress"!=e&&c[i]&&(i=c[i],o.push("shift")),_isModifier(i)&&o.push(i);return e=_pickBestAction(i,o,e),{key:i,modifiers:o,action:e}}function _belongsTo(t,e){return null!==t&&t!==o&&(t===e||_belongsTo(t.parentNode,e))}function Mousetrap(t){function _resetSequences(t){t=t||{};var e,n=!1;for(e in i)t[e]?n=!0:i[e]=0;n||(s=!1)}function _getMatches(t,n,r,o,a,s){var l,u,c=[],d=r.type;if(!e._callbacks[t])return[];for("keyup"==d&&_isModifier(t)&&(n=[t]),l=0;l<e._callbacks[t].length;++l)if(u=e._callbacks[t][l],(o||!u.seq||i[u.seq]==u.level)&&d==u.action&&("keypress"==d&&!r.metaKey&&!r.ctrlKey||_modifiersMatch(n,u.modifiers))){var f=!o&&u.combo==a,h=o&&u.seq==o&&u.level==s;(f||h)&&e._callbacks[t].splice(l,1),c.push(u)}return c}function _fireCallback(t,n,i,r){e.stopCallback(n,n.target||n.srcElement,i,r)||!1===t(n,i)&&(_preventDefault(n),_stopPropagation(n))}function _handleKeyEvent(t){"number"!=typeof t.which&&(t.which=t.keyCode);var n=_characterFromEvent(t);if(n)return"keyup"==t.type&&r===n?void(r=!1):void e.handleKey(n,_eventModifiers(t),t)}function _resetSequenceTimer(){clearTimeout(n),n=setTimeout(_resetSequences,1e3)}function _bindSequence(t,e,n,o){function _callbackAndReset(e){_fireCallback(n,e,t),"keyup"!==o&&(r=_characterFromEvent(e)),setTimeout(_resetSequences,10)}i[t]=0;for(var a=0;a<e.length;++a){var l=a+1===e.length,u=l?_callbackAndReset:function(e){return function(){s=e,++i[t],_resetSequenceTimer()}}(o||_getKeyInfo(e[a+1]).action);_bindSingle(e[a],u,o,t,a)}}function _bindSingle(t,n,i,r,o){e._directMap[t+":"+i]=n,t=t.replace(/\s+/g," ");var a,s=t.split(" ");if(s.length>1)return void _bindSequence(t,s,n,i);a=_getKeyInfo(t,i),e._callbacks[a.key]=e._callbacks[a.key]||[],_getMatches(a.key,a.modifiers,{type:a.action},r,t,o),e._callbacks[a.key][r?"unshift":"push"]({callback:n,modifiers:a.modifiers,action:a.action,seq:r,level:o,combo:t})}var e=this;if(t=t||o,!(e instanceof Mousetrap))return new Mousetrap(t);e.target=t,e._callbacks={},e._directMap={};var n,i={},r=!1,a=!1,s=!1;e._handleKey=function(t,e,n){var i,r=_getMatches(t,e,n),o={},l=0,u=!1;for(i=0;i<r.length;++i)r[i].seq&&(l=Math.max(l,r[i].level));for(i=0;i<r.length;++i)if(r[i].seq){if(r[i].level!=l)continue;u=!0,o[r[i].seq]=1,_fireCallback(r[i].callback,n,r[i].combo,r[i].seq)}else u||_fireCallback(r[i].callback,n,r[i].combo);var c="keypress"==n.type&&a;n.type!=s||_isModifier(t)||c||_resetSequences(o),a=u&&"keydown"==n.type},e._bindMultiple=function(t,e,n){for(var i=0;i<t.length;++i)_bindSingle(t[i],e,n)},_addEvent(t,"keypress",_handleKeyEvent),_addEvent(t,"keydown",_handleKeyEvent),_addEvent(t,"keyup",_handleKeyEvent)}if(r){for(var s,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},u={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},c={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},f=1;f<20;++f)l[111+f]="f"+f;for(f=0;f<=9;++f)l[f+96]=f.toString();Mousetrap.prototype.bind=function(t,e,n){var i=this;return t=t instanceof Array?t:[t],i._bindMultiple.call(i,t,e,n),i},Mousetrap.prototype.unbind=function(t,e){var n=this;return n.bind.call(n,t,function(){},e)},Mousetrap.prototype.trigger=function(t,e){var n=this;return n._directMap[t+":"+e]&&n._directMap[t+":"+e]({},t),n},Mousetrap.prototype.reset=function(){var t=this;return t._callbacks={},t._directMap={},t},Mousetrap.prototype.stopCallback=function(t,e){var n=this;return!((" "+e.className+" ").indexOf(" mousetrap ")>-1)&&(!_belongsTo(e,n.target)&&("INPUT"==e.tagName||"SELECT"==e.tagName||"TEXTAREA"==e.tagName||e.isContentEditable))},Mousetrap.prototype.handleKey=function(){var t=this;return t._handleKey.apply(t,arguments)},Mousetrap.addKeycodes=function(t){for(var e in t)t.hasOwnProperty(e)&&(l[e]=t[e]);s=null},Mousetrap.init=function(){var t=Mousetrap(o);for(var e in t)"_"!==e.charAt(0)&&(Mousetrap[e]=function(e){return function(){return t[e].apply(t,arguments)}}(e))},Mousetrap.init(),r.Mousetrap=Mousetrap,void 0!==t&&t.exports&&(t.exports=Mousetrap),void 0!==(i=function(){return Mousetrap}.call(e,n,e,t))&&(t.exports=i)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(t,e,n){"use strict";var i;e.acl=function(){var t=new i;return{configure:function(e){e.registerUtility(t,"authorizationPolicy")}}},i=e.AclAuthzPolicy=function(){},i.prototype.permits=function(t,e,n){var i=this.authorizedUserId(n),r=e.permissions;if(r){var o=r[t];if(void 0===o||null===o)return!0;for(var a=0,s=o.length;a<s;a++)if(i===o[a])return!0;return!1}return!e.user||i===e.user},i.prototype.authorizedUserId=function(t){return t}},function(t,e,n){"use strict";var i;e.simple=function(){var t=new i;return{configure:function(e){e.registerUtility(t,"identityPolicy")},beforeAnnotationCreated:function(e){e.user=t.who()}}},i=function(){this.identity=null},e.SimpleIdentityPolicy=i,i.prototype.who=function(){return this.identity}},function(t,e,n){"use strict";(function(t){function banner(e,n){void 0!==n&&null!==n||(n=o);var l=r(a)[0],u=!1,c=function(){u||(u=!0,r(l).removeClass(s.show).removeClass(s[n]),setTimeout(function(){r(l).remove()},500))};return r(l).addClass(s.show).addClass(s[n]).html(i.escapeHtml(e||"")).appendTo(t.document.body),r(l).on("click",c),setTimeout(c,5e3),{close:c}}var i=n(1),r=i.$,o="info",a="<div class='annotator-notice'></div>",s={show:"annotator-notice-show",info:"annotator-notice-info",success:"annotator-notice-success",error:"annotator-notice-error"};e.banner=banner,e.defaultNotifier=banner,e.INFO=o,e.SUCCESS="success",e.ERROR="error"}).call(e,n(2))},function(t,e,n){"use strict";function StorageAdapter(t,e){this.store=t,this.runHook=e}var i=n(1),r=i.$,o=i.gettext,a=i.Promise,s=function(){var t;return t=-1,function(){return t+=1}}();e.debug=function(){function trace(t,e){var n=JSON.parse(JSON.stringify(e));console.debug("annotator.storage.debug: "+t,n)}return{create:function(t){return t.id=s(),trace("create",t),t},update:function(t){return trace("update",t),t},delete:function(t){return trace("destroy",t),t},query:function(t){return trace("query",t),{results:[],meta:{total:0}}},configure:function(t){t.registerUtility(this,"storage")}}},e.noop=function(){return{create:function(t){return void 0!==t.id&&null!==t.id||(t.id=s()),t},update:function(t){return t},delete:function(t){return t},query:function(){return{results:[]}},configure:function(t){t.registerUtility(this,"storage")}}};var l;e.http=function(t){var e=function(){};void 0!==t&&null!==t||(t={}),t.onError=t.onError||function(t,n){console.error(t,n),e(t,"error")};var n=new l(t);return{configure:function(t){t.registerUtility(n,"storage")},start:function(t){e=t.notify}}},l=e.HttpStorage=function HttpStorage(t){this.options=r.extend(!0,{},HttpStorage.options,t),this.onError=this.options.onError},l.prototype.create=function(t){return this._apiRequest("create",t)},l.prototype.update=function(t){return this._apiRequest("update",t)},l.prototype.delete=function(t){return this._apiRequest("destroy",t)},l.prototype.query=function(t){return this._apiRequest("search",t).then(function(t){var e=t.rows;return delete t.rows,{results:e,meta:t}})},l.prototype.setHeader=function(t,e){this.options.headers[t]=e},l.prototype._apiRequest=function(t,e){var n=e&&e.id,i=this._urlFor(t,n),o=this._apiRequestOptions(t,e),a=r.ajax(i,o);return a._id=n,a._action=t,a},l.prototype._apiRequestOptions=function(t,e){var n=this._methodFor(t),i=this,o={type:n,dataType:"json",error:function(){i._onError.apply(i,arguments)},headers:this.options.headers};if(!this.options.emulateHTTP||"PUT"!==n&&"DELETE"!==n||(o.headers=r.extend(o.headers,{"X-HTTP-Method-Override":n}),o.type="POST"),"search"===t)return o=r.extend(o,{data:e});var a=e&&JSON.stringify(e);return this.options.emulateJSON?(o.data={json:a},this.options.emulateHTTP&&(o.data._method=n),o):o=r.extend(o,{data:a,contentType:"application/json; charset=utf-8"})},l.prototype._urlFor=function(t,e){void 0!==e&&null!==e||(e="");var n="";return void 0!==this.options.prefix&&null!==this.options.prefix&&(n=this.options.prefix),n+=this.options.urls[t],n=n.replace(/idAnnotation/,e)},l.prototype._methodFor=function(t){return{create:"POST",update:"PUT",destroy:"DELETE",search:"GET"}[t]},l.prototype._onError=function(t){if("function"==typeof this.onError){var e;e=o(400===t.status?"The annotation store did not understand the request! (Error 400)":401===t.status?"You must be logged in to perform this operation! (Error 401)":403===t.status?"You don't have permission to perform this operation! (Error 403)":404===t.status?"Could not connect to the annotation store! (Error 404)":500===t.status?"Internal error in annotation store! (Error 500)":"Unknown error while speaking to annotation store!"),this.onError(e,t)}},l.options={emulateHTTP:!1,emulateJSON:!1,headers:{},onError:function(t){console.error("API request failed: "+t)},prefix:"/store",urls:{create:"/annotations",update:"/annotations/idAnnotation",destroy:"/annotations/idAnnotation",search:"/search"}},StorageAdapter.prototype.create=function(t){return void 0!==t&&null!==t||(t={}),this._cycle(t,"create","beforeAnnotationCreated","annotationCreated")},StorageAdapter.prototype.update=function(t){if(void 0===t.id||null===t.id)throw new TypeError("annotation must have an id for update()");return this._cycle(t,"update","beforeAnnotationUpdated","annotationUpdated")},StorageAdapter.prototype.delete=function(t){if(void 0===t.id||null===t.id)throw new TypeError("annotation must have an id for delete()");return this._cycle(t,"delete","beforeAnnotationDeleted","annotationDeleted")},StorageAdapter.prototype.query=function(t){return a.resolve(this.store.query(t))},StorageAdapter.prototype.load=function(t){var e=this;return this.query(t).then(function(t){e.runHook("annotationsLoaded",[t.results])})},StorageAdapter.prototype._cycle=function(t,e,n,i){var o=this;return this.runHook(n,[t]).then(function(){var n=r.extend(!0,{},t);delete n._local;var i=o.store[e](n);return a.resolve(i)}).then(function(e){for(var n in t)t.hasOwnProperty(n)&&"_local"!==n&&delete t[n];return r.extend(t,e),o.runHook(i,[t]),t})},e.StorageAdapter=StorageAdapter},function(t,e,n){"use strict";var i=n(3).Widget,r=n(1),o=r.$,a=r.gettext,s="annotator-adder",l=i.extend({constructor:function(t){i.call(this,t),this.ignoreMouseup=!1,this.annotation=null,this.onCreate=this.options.onCreate;var e=this;this.element.on("click."+s,"button",function(t){e._onClick(t)}).on("mousedown."+s,"button",function(t){e._onMousedown(t)}),this.document=this.element[0].ownerDocument,o(this.document.body).on("mouseup."+s,function(t){e._onMouseup(t)})},destroy:function(){this.element.off("."+s),o(this.document.body).off("."+s),i.prototype.destroy.call(this)},load:function(t,e){this.annotation=t,this.show(e)},show:function(t){void 0!==t&&null!==t&&this.element.css({top:t.top,left:t.left}),i.prototype.show.call(this)},_onMousedown:function(t){t.which>1||(t.preventDefault(),this.ignoreMouseup=!0)},_onMouseup:function(t){t.which>1||this.ignoreMouseup&&t.stopImmediatePropagation()},_onClick:function(t){t.which>1||(t.preventDefault(),this.hide(),this.ignoreMouseup=!1,null!==this.annotation&&"function"==typeof this.onCreate&&this.onCreate(this.annotation,t))}});l.template=['<div class="annotator-adder annotator-hide">',' <button type="button">'+a("Annotate")+"</button>","</div>"].join("\n"),l.options={onCreate:null},e.Adder=l},function(t,e,n){"use strict";function preventEventDefault(t){void 0!==t&&null!==t&&"function"==typeof t.preventDefault&&t.preventDefault()}var i=n(3).Widget,r=n(1),o=r.$,a=r.gettext,s=r.Promise,l="annotator-editor",u=function(){var t;return t=-1,function(){return t+=1}}(),c=e.dragTracker=function(t,e){function mouseMove(t){if(!i&&null!==n){var r={y:t.pageY-n.top,x:t.pageX-n.left},o=!0;"function"==typeof e&&(o=e(r)),!1!==o&&(n={top:t.pageY,left:t.pageX}),i=!0,setTimeout(function(){i=!1},1e3/60)}}function mouseUp(){n=null,o(t.ownerDocument).off("mouseup",mouseUp).off("mousemove",mouseMove)}function mouseDown(e){e.target===t&&(n={top:e.pageY,left:e.pageX},o(t.ownerDocument).on("mouseup",mouseUp).on("mousemove",mouseMove),e.preventDefault())}function destroy(){o(t).off("mousedown",mouseDown)}var n=null,i=!1;return o(t).on("mousedown",mouseDown),{destroy:destroy}},d=e.resizer=function(t,e,n){function translate(t){var e=1,i=-1;return"function"==typeof n.invertedX&&n.invertedX()&&(e=-1),"function"==typeof n.invertedY&&n.invertedY()&&(i=1),{x:t.x*e,y:t.y*i}}function resize(t){var e=i.height(),n=i.width(),r=translate(t);return Math.abs(r.x)>0&&i.width(n+r.x),Math.abs(r.y)>0&&i.height(e+r.y),i.height()!==e||i.width()!==n}var i=o(t);return void 0!==n&&null!==n||(n={}),c(e,resize)},f=e.mover=function(t,e){function move(e){o(t).css({top:parseInt(o(t).css("top"),10)+e.y,left:parseInt(o(t).css("left"),10)+e.x})}return c(e,move)},h=e.Editor=i.extend({constructor:function(t){i.call(this,t),this.fields=[],this.annotation={},this.options.defaultFields&&this.addField({type:"textarea",label:a("Comments")+"…",load:function(t,e){o(t).find("textarea").val(e.text||"")},submit:function(t,e){e.text=o(t).find("textarea").val()}});var e=this;this.element.on("submit."+l,"form",function(t){e._onFormSubmit(t)}).on("click."+l,".annotator-save",function(t){e._onSaveClick(t)}).on("click."+l,".annotator-cancel",function(t){e._onCancelClick(t)}).on("mouseover."+l,".annotator-cancel",function(t){e._onCancelMouseover(t)}).on("keydown."+l,"textarea",function(t){e._onTextareaKeydown(t)})},destroy:function(){this.element.off("."+l),i.prototype.destroy.call(this)},show:function(t){void 0!==t&&null!==t&&this.element.css({top:t.top,left:t.left}),this.element.find(".annotator-save").addClass(this.classes.focus),i.prototype.show.call(this),this.element.find(":input:first").focus(),this._setupDraggables()},load:function(t,e){this.annotation=t;for(var n=0,i=this.fields.length;n<i;n++){var r=this.fields[n];r.load(r.element,this.annotation)}var o=this;return new s(function(t,n){o.dfd={resolve:t,reject:n},o.show(e)})},submit:function(){for(var t=0,e=this.fields.length;t<e;t++){var n=this.fields[t];n.submit(n.element,this.annotation)}void 0!==this.dfd&&null!==this.dfd&&this.dfd.resolve(),this.hide()},cancel:function(){void 0!==this.dfd&&null!==this.dfd&&this.dfd.reject("editing cancelled"),this.hide()},addField:function(t){var e=o.extend({id:"annotator-field-"+u(),type:"input",label:"",load:function(){},submit:function(){}},t),n=null,i=o('<li class="annotator-item" />');return e.element=i[0],"textarea"===e.type?n=o("<textarea />"):"checkbox"===e.type?n=o('<input type="checkbox" />'):"input"===e.type?n=o("<input />"):"select"===e.type&&(n=o("<select />")),i.append(n),n.attr({id:e.id,placeholder:e.label}),"checkbox"===e.type&&(i.addClass("annotator-checkbox"),i.append(o("<label />",{for:e.id,html:e.label}))),this.element.find("ul:first").append(i),this.fields.push(e),e.element},checkOrientation:function(){i.prototype.checkOrientation.call(this);var t=this.element.find("ul").first(),e=this.element.find(".annotator-controls");return this.element.hasClass(this.classes.invert.y)?e.insertBefore(t):e.is(":first-child")&&e.insertAfter(t),this},_onFormSubmit:function(t){preventEventDefault(t),this.submit()},_onSaveClick:function(t){preventEventDefault(t),this.submit()},_onCancelClick:function(t){preventEventDefault(t),this.cancel()},_onCancelMouseover:function(){this.element.find("."+this.classes.focus).removeClass(this.classes.focus)},_onTextareaKeydown:function(t){27===t.which?this.cancel():13!==t.which||t.shiftKey||this.submit()},_setupDraggables:function(){void 0!==this._resizer&&null!==this._resizer&&this._resizer.destroy(),void 0!==this._mover&&null!==this._mover&&this._mover.destroy(),this.element.find(".annotator-resize").remove();var t;(t=this.element.hasClass(this.classes.invert.y)?this.element.find(".annotator-item:last"):this.element.find(".annotator-item:first"))&&o('<span class="annotator-resize"></span>').appendTo(t);var e=this.element.find(".annotator-controls")[0],n=this.element.find("textarea:first")[0],i=this.element.find(".annotator-resize")[0],r=this;this._resizer=d(n,i,{invertedX:function(){return r.element.hasClass(r.classes.invert.x)},invertedY:function(){return r.element.hasClass(r.classes.invert.y)}}),this._mover=f(this.element[0],e)}});h.classes={hide:"annotator-hide",focus:"annotator-focus"},h.template=['<div class="annotator-outer annotator-editor annotator-hide">',' <form class="annotator-widget">',' <ul class="annotator-listing"></ul>',' <div class="annotator-controls">',' <a href="#cancel" class="annotator-cancel">'+a("Cancel")+"</a>",' <a href="#save"',' class="annotator-save annotator-focus">'+a("Save")+"</a>"," </div>"," </form>","</div>"].join("\n"),h.options={defaultFields:!0},e.standalone=function(t){var n=new e.Editor(t);return{destroy:function(){n.destroy()},beforeAnnotationCreated:function(t){return n.load(t)},beforeAnnotationUpdated:function(t){return n.load(t)}}}},function(t,e,n){"use strict";(function(t){function highlightRange(e,n){void 0!==n&&null!==n||(n="annotator-hl");for(var i=/^\s*$/,r=e.textNodes(),o=[],a=0,s=r.length;a<s;a++){var l=r[a];if(!i.test(l.nodeValue)){var u=t.document.createElement("span");u.className=n,l.parentNode.replaceChild(u,l),u.appendChild(l),o.push(u)}}return o}function reanchorRange(t,e){try{return i.Range.sniff(t).normalize(e)}catch(t){if(!(t instanceof i.Range.RangeError))throw t}return null}var i=n(18),r=n(1),o=r.$,a=r.Promise,s=e.Highlighter=function Highlighter(t,e){this.element=t,this.options=o.extend(!0,{},Highlighter.options,e)};s.prototype.destroy=function(){o(this.element).find("."+this.options.highlightClass).each(function(t,e){o(e).contents().insertBefore(e),o(e).remove()})},s.prototype.drawAll=function(t){var e=this;return new a(function(n){function loader(t){void 0!==t&&null!==t||(t=[]);for(var r=t.splice(0,e.options.chunkSize),o=0,a=r.length;o<a;o++)i=i.concat(e.draw(r[o]));t.length>0?setTimeout(function(){loader(t)},e.options.chunkDelay):n(i)}var i=[];loader(t.slice())})},s.prototype.draw=function(t){for(var e=[],n=0,i=t.ranges.length;n<i;n++){var r=reanchorRange(t.ranges[n],this.element);null!==r&&e.push(r)}void 0!==t._local&&null!==t._local||(t._local={}),void 0!==t._local.highlights&&null===t._local.highlights||(t._local.highlights=[]);for(var a=0,s=e.length;a<s;a++){var l=e[a];o.merge(t._local.highlights,highlightRange(l,this.options.highlightClass))}return o(t._local.highlights).data("annotation",t),void 0!==t.id&&null!==t.id&&o(t._local.highlights).attr("data-annotation-id",t.id),t._local.highlights},s.prototype.undraw=function(t){if(void 0!==t._local&&null!==t._local&&void 0!==t._local.highlights&&null!==t._local.highlights){for(var e=0,n=t._local.highlights.length;e<n;e++){var i=t._local.highlights[e];null!==i.parentNode&&o(i).replaceWith(i.childNodes)}delete t._local.highlights}},s.prototype.redraw=function(t){return this.undraw(t),this.draw(t)},s.options={highlightClass:"annotator-hl",chunkSize:10,chunkDelay:10},e.standalone=function(t,n){var i=e.Highlighter(t,n);return{destroy:function(){i.destroy()},annotationsLoaded:function(t){i.drawAll(t)},annotationCreated:function(t){i.draw(t)},annotationDeleted:function(t){i.undraw(t)},annotationUpdated:function(t){i.redraw(t)}}}}).call(e,n(2))},function(t,e,n){"use strict";(function(t){function isAnnotator(t){return 0!==o(t).parents().addBack().filter("[class^=annotator-]").length}function TextSelector(t,e){if(this.element=t,this.options=o.extend(!0,{},TextSelector.options,e),this.onSelection=this.options.onSelection,void 0!==this.element.ownerDocument&&null!==this.element.ownerDocument){var n=this;this.document=this.element.ownerDocument,o(this.document.body).on("mouseup."+a,function(t){n._checkForEndSelection(t)})}else console.warn("You created an instance of the TextSelector on an element that doesn't have an ownerDocument. This won't work! Please ensure the element is added to the DOM before the plugin is configured:",this.element)}var i=n(18),r=n(1),o=r.$,a="annotator-textselector";TextSelector.prototype.destroy=function(){this.document&&o(this.document.body).off("."+a)},TextSelector.prototype.captureDocumentSelection=function(){var e,n,r=[],o=[],a=t.getSelection();if(a.isCollapsed)return[];for(e=0;e<a.rangeCount;e++){var s=a.getRangeAt(e),l=new i.Range.BrowserRange(s),u=l.normalize().limit(this.element);null===u?o.push(s):r.push(u)}for(a.removeAllRanges(),e=0,n=o.length;e<n;e++)a.addRange(o[e]);for(e=0,n=r.length;e<n;e++){var c=r[e],d=this.document.createRange();d.setStartBefore(c.start),d.setEndAfter(c.end),a.addRange(d)}return r},TextSelector.prototype._checkForEndSelection=function(t){var e=this,n=function(){"function"==typeof e.onSelection&&e.onSelection([],t)},i=this.captureDocumentSelection();if(0===i.length)return void n();for(var r=0,a=i.length;r<a;r++){var s=i[r].commonAncestor;if(o(s).hasClass("annotator-hl")&&(s=o(s).parents("[class!=annotator-hl]")[0]),isAnnotator(s))return void n()}"function"==typeof this.onSelection&&this.onSelection(i,t)},TextSelector.options={onSelection:null},e.TextSelector=TextSelector}).call(e,n(2))},function(t,e,n){"use strict";function parseLinks(t,e,n){n=o.extend({},n,{rel:e});for(var i=[],r=0,a=t.length;r<a;r++){var s=t[r],l=!0;for(var u in n)if(n.hasOwnProperty(u)&&s[u]!==n[u]){l=!1;break}l&&i.push(s)}return i}var i=n(3).Widget,r=n(1),o=r.$,a=r.gettext,s="annotator-viewer",l=e.Viewer=i.extend({constructor:function(t){i.call(this,t),this.itemTemplate=l.itemTemplate,this.fields=[],this.annotations=[],this.hideTimer=null,this.hideTimerDfd=null,this.hideTimerActivity=null,this.mouseDown=!1,this.render=function(t){return t.text?r.escapeHtml(t.text):"<i>"+a("No comment")+"</i>"};var e=this;if(this.options.defaultFields&&this.addField({load:function(t,n){o(t).html(e.render(n))}}),"function"!=typeof this.options.onEdit)throw new TypeError("onEdit callback must be a function");if("function"!=typeof this.options.onDelete)throw new TypeError("onDelete callback must be a function");if("function"!=typeof this.options.permitEdit)throw new TypeError("permitEdit callback must be a function");if("function"!=typeof this.options.permitDelete)throw new TypeError("permitDelete callback must be a function");this.options.autoViewHighlights&&(this.document=this.options.autoViewHighlights.ownerDocument,o(this.options.autoViewHighlights).on("mouseover."+s,".annotator-hl",function(t){t.target===this&&e._onHighlightMouseover(t)}).on("mouseleave."+s,".annotator-hl",function(){e._startHideTimer()}),o(this.document.body).on("mousedown."+s,function(t){1===t.which&&(e.mouseDown=!0)}).on("mouseup."+s,function(t){1===t.which&&(e.mouseDown=!1)})),this.element.on("click."+s,".annotator-edit",function(t){e._onEditClick(t)}).on("click."+s,".annotator-delete",function(t){e._onDeleteClick(t)}).on("mouseenter."+s,function(){e._clearHideTimer()}).on("mouseleave."+s,function(){e._startHideTimer()})},destroy:function(){this.options.autoViewHighlights&&(o(this.options.autoViewHighlights).off("."+s),o(this.document.body).off("."+s)),this.element.off("."+s),i.prototype.destroy.call(this)},show:function(t){void 0!==t&&null!==t&&this.element.css({top:t.top,left:t.left});var e=this.element.find(".annotator-controls").addClass(this.classes.showControls),n=this;setTimeout(function(){e.removeClass(n.classes.showControls)},500),i.prototype.show.call(this)},load:function(t,e){this.annotations=t||[];for(var n=this.element.find("ul:first").empty(),i=0,r=this.annotations.length;i<r;i++){var o=this.annotations[i];this._annotationItem(o).appendTo(n).data("annotation",o)}this.show(e)},setRenderer:function(t){this.render=t},_annotationItem:function(t){var e=o(this.itemTemplate).clone(),n=e.find(".annotator-controls"),i=n.find(".annotator-link"),r=n.find(".annotator-edit"),a=n.find(".annotator-delete"),s=parseLinks(t.links||[],"alternate",{type:"text/html"});s.length>0&&void 0!==s[0].href&&null!==s[0].href?i.attr("href",s[0].href):i.remove();var l={};this.options.permitEdit(t)?(l.showEdit=function(){r.removeAttr("disabled")},l.hideEdit=function(){r.attr("disabled","disabled")}):r.remove(),this.options.permitDelete(t)?(l.showDelete=function(){a.removeAttr("disabled")},l.hideDelete=function(){a.attr("disabled","disabled")}):a.remove();for(var u=0,c=this.fields.length;u<c;u++){var d=this.fields[u],f=o(d.element).clone().appendTo(e)[0];d.load(f,t,l)}return e},addField:function(t){var e=o.extend({load:function(){}},t);return e.element=o("<div />")[0],this.fields.push(e),this},_onEditClick:function(t){var e=o(t.target).parents(".annotator-annotation").data("annotation");this.hide(),this.options.onEdit(e)},_onDeleteClick:function(t){if(window.confirm(a("Delete this annotation?"))){var e=o(t.target).parents(".annotator-annotation").data("annotation");this.hide(),this.options.onDelete(e)}},_onHighlightMouseover:function(t){if(!this.mouseDown){var e=this;this._startHideTimer(!0).done(function(){var n=o(t.target).parents(".annotator-hl").addBack().map(function(t,e){return o(e).data("annotation")}).toArray();e.load(n,r.mousePosition(t))})}},_startHideTimer:function(t){if(void 0!==t&&null!==t||(t=!1),this.hideTimer){if(!1===t||this.hideTimerActivity===t)return this.hideTimerDfd;this._clearHideTimer()}var e;if(e=t?this.options.activityDelay:this.options.inactivityDelay,this.hideTimerDfd=o.Deferred(),this.isShown()){var n=this;this.hideTimer=setTimeout(function(){n.hide(),n.hideTimerDfd.resolve(),n.hideTimer=null},e),this.hideTimerActivity=Boolean(t)}else this.hideTimer=null,this.hideTimerDfd.resolve(),this.hideTimerActivity=null;return this.hideTimerDfd.promise()},_clearHideTimer:function(){clearTimeout(this.hideTimer),this.hideTimer=null,this.hideTimerDfd.reject(),this.hideTimerActivity=null}});l.classes={showControls:"annotator-visible"},l.template=['<div class="annotator-outer annotator-viewer annotator-hide">',' <ul class="annotator-widget annotator-listing"></ul>',"</div>"].join("\n"),l.itemTemplate=['<li class="annotator-annotation annotator-item">',' <span class="annotator-controls">',' <a href="#"',' title="'+a("View as webpage")+'"',' class="annotator-link">'+a("View as webpage")+"</a>",' <button type="button"',' title="'+a("Edit")+'"',' class="annotator-edit">'+a("Edit")+"</button>",' <button type="button"',' title="'+a("Delete")+'"',' class="annotator-delete">'+a("Delete")+"</button>"," </span>","</li>"].join("\n"),l.options={defaultFields:!0,inactivityDelay:500,activityDelay:100,permitEdit:function(){return!1},permitDelete:function(){return!1},autoViewHighlights:null,onEdit:function(){},onDelete:function(){}},e.standalone=function(t){var n;return void 0!==t&&null!==t||(t={}),{start:function(i){var r=i.registry.getUtility("identityPolicy"),o=i.registry.getUtility("authorizationPolicy");void 0===t.onEdit&&(t.onEdit=function(t){i.annotations.update(t)}),void 0===t.onDelete&&(t.onDelete=function(t){i.annotations.delete(t)}),void 0===t.permitEdit&&(t.permitEdit=function(t){return o.permits("update",t,r.who())}),void 0===t.permitDelete&&(t.permitDelete=function(t){return o.permits("delete",t,r.who())}),n=new e.Viewer(t)},destroy:function(){n.destroy()}}}},function(t,e,n){"use strict"},function(t,e,n){"use strict";var i=n(4),r=function(t){return t&&t.__esModule?t:{default:t}}(i);r.default.bind("g u",function(){window.location.href=Routing.generate("homepage")}),r.default.bind("g s",function(){window.location.href=Routing.generate("starred")}),r.default.bind("g r",function(){window.location.href=Routing.generate("archive")}),r.default.bind("g a",function(){window.location.href=Routing.generate("all")}),r.default.bind("g t",function(){window.location.href=Routing.generate("tag")}),r.default.bind("g c",function(){window.location.href=Routing.generate("config")}),r.default.bind("g i",function(){window.location.href=Routing.generate("import")}),r.default.bind("g d",function(){window.location.href=Routing.generate("developer")}),r.default.bind("?",function(){window.location.href=Routing.generate("howto")}),r.default.bind("g l",function(){window.location.href=Routing.generate("fos_user_security_logout")})},function(t,e,n){!function(e){t.exports=e()}(function(){"use strict";var t={has:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},extend:function(t){for(var e=1;e<arguments.length;++e){var n=arguments[e];if(n)for(var i in n)t[i]=n[i]}return t}};return function(e,n){var i,r=this;i=e&&t.has(e,"constructor")?e.constructor:function(){return r.apply(this,arguments)},t.extend(i,r,n);var o=function(){this.constructor=i};return o.prototype=r.prototype,i.prototype=new o,e&&t.extend(i.prototype,e),i.__super__=r.prototype,i}})},function(t,e,n){(function(e,i){!function(e,n){t.exports=n()}(0,function(){"use strict";function objectOrFunction(t){return"function"==typeof t||"object"==typeof t&&null!==t}function isFunction(t){return"function"==typeof t}function setScheduler(t){s=t}function setAsap(t){l=t}function useVertxTimer(){return function(){a(flush)}}function useSetTimeout(){var t=setTimeout;return function(){return t(flush,1)}}function flush(){for(var t=0;t<o;t+=2){(0,p[t])(p[t+1]),p[t]=void 0,p[t+1]=void 0}o=0}function then(t,e){var n=arguments,i=this,r=new this.constructor(noop);void 0===r[v]&&makePromise(r);var o=i._state;return o?function(){var t=n[o-1];l(function(){return invokeCallback(o,r,t,i._result)})}():subscribe(i,r,t,e),r}function resolve(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(noop);return _resolve(n,t),n}function noop(){}function selfFulfillment(){return new TypeError("You cannot resolve a promise with itself")}function cannotReturnOwn(){return new TypeError("A promises callback cannot return that same promise.")}function getThen(t){try{return t.then}catch(t){return w.error=t,w}}function tryThen(t,e,n,i){try{t.call(e,n,i)}catch(t){return t}}function handleForeignThenable(t,e,n){l(function(t){var i=!1,r=tryThen(n,e,function(n){i||(i=!0,e!==n?_resolve(t,n):fulfill(t,n))},function(e){i||(i=!0,_reject(t,e))},"Settle: "+(t._label||" unknown promise"));!i&&r&&(i=!0,_reject(t,r))},t)}function handleOwnThenable(t,e){e._state===y?fulfill(t,e._result):e._state===b?_reject(t,e._result):subscribe(e,void 0,function(e){return _resolve(t,e)},function(e){return _reject(t,e)})}function handleMaybeThenable(t,e,n){e.constructor===t.constructor&&n===then&&e.constructor.resolve===resolve?handleOwnThenable(t,e):n===w?_reject(t,w.error):void 0===n?fulfill(t,e):isFunction(n)?handleForeignThenable(t,e,n):fulfill(t,e)}function _resolve(t,e){t===e?_reject(t,selfFulfillment()):objectOrFunction(e)?handleMaybeThenable(t,e,getThen(e)):fulfill(t,e)}function publishRejection(t){t._onerror&&t._onerror(t._result),publish(t)}function fulfill(t,e){t._state===m&&(t._result=e,t._state=y,0!==t._subscribers.length&&l(publish,t))}function _reject(t,e){t._state===m&&(t._state=b,t._result=e,l(publishRejection,t))}function subscribe(t,e,n,i){var r=t._subscribers,o=r.length;t._onerror=null,r[o]=e,r[o+y]=n,r[o+b]=i,0===o&&t._state&&l(publish,t)}function publish(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var i=void 0,r=void 0,o=t._result,a=0;a<e.length;a+=3)i=e[a],r=e[a+n],i?invokeCallback(n,i,r,o):r(o);t._subscribers.length=0}}function ErrorObject(){this.error=null}function tryCatch(t,e){try{return t(e)}catch(t){return x.error=t,x}}function invokeCallback(t,e,n,i){var r=isFunction(n),o=void 0,a=void 0,s=void 0,l=void 0;if(r){if(o=tryCatch(n,i),o===x?(l=!0,a=o.error,o=null):s=!0,e===o)return void _reject(e,cannotReturnOwn())}else o=i,s=!0;e._state!==m||(r&&s?_resolve(e,o):l?_reject(e,a):t===y?fulfill(e,o):t===b&&_reject(e,o))}function initializePromise(t,e){try{e(function(e){_resolve(t,e)},function(e){_reject(t,e)})}catch(e){_reject(t,e)}}function nextId(){return T++}function makePromise(t){t[v]=T++,t._state=void 0,t._result=void 0,t._subscribers=[]}function Enumerator(t,e){this._instanceConstructor=t,this.promise=new t(noop),this.promise[v]||makePromise(this.promise),r(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?fulfill(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&fulfill(this.promise,this._result))):_reject(this.promise,validationError())}function validationError(){return new Error("Array Methods must be provided an Array")}function all(t){return new Enumerator(this,t).promise}function race(t){var e=this;return new e(r(t)?function(n,i){for(var r=t.length,o=0;o<r;o++)e.resolve(t[o]).then(n,i)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function reject(t){var e=this,n=new e(noop);return _reject(n,t),n}function needsResolver(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function needsNew(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function Promise(t){this[v]=nextId(),this._result=this._state=void 0,this._subscribers=[],noop!==t&&("function"!=typeof t&&needsResolver(),this instanceof Promise?initializePromise(this,t):needsNew())}function polyfill(){var t=void 0;if(void 0!==i)t=i;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=Promise}var t=void 0;t=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var r=t,o=0,a=void 0,s=void 0,l=function(t,e){p[o]=t,p[o+1]=e,2===(o+=2)&&(s?s(flush):g())},u="undefined"!=typeof window?window:void 0,c=u||{},d=c.MutationObserver||c.WebKitMutationObserver,f="undefined"==typeof self&&void 0!==e&&"[object process]"==={}.toString.call(e),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,p=new Array(1e3),g=void 0;g=f?function(){return function(){return e.nextTick(flush)}}():d?function(){var t=0,e=new d(flush),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}():h?function(){var t=new MessageChannel;return t.port1.onmessage=flush,function(){return t.port2.postMessage(0)}}():void 0===u?function(){try{var t=n(39);return a=t.runOnLoop||t.runOnContext,useVertxTimer()}catch(t){return useSetTimeout()}}():useSetTimeout();var v=Math.random().toString(36).substring(16),m=void 0,y=1,b=2,w=new ErrorObject,x=new ErrorObject,T=0;return Enumerator.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===m&&n<t;n++)this._eachEntry(e[n],n)},Enumerator.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,i=n.resolve;if(i===resolve){var r=getThen(t);if(r===then&&t._state!==m)this._settledAt(t._state,e,t._result);else if("function"!=typeof r)this._remaining--,this._result[e]=t;else if(n===Promise){var o=new n(noop);handleMaybeThenable(o,t,r),this._willSettleAt(o,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(i(t),e)},Enumerator.prototype._settledAt=function(t,e,n){var i=this.promise;i._state===m&&(this._remaining--,t===b?_reject(i,n):this._result[e]=n),0===this._remaining&&fulfill(i,this._result)},Enumerator.prototype._willSettleAt=function(t,e){var n=this;subscribe(t,void 0,function(t){return n._settledAt(y,e,t)},function(t){return n._settledAt(b,e,t)})},Promise.all=all,Promise.race=race,Promise.resolve=resolve,Promise.reject=reject,Promise._setScheduler=setScheduler,Promise._setAsap=setAsap,Promise._asap=l,Promise.prototype={constructor:Promise,then:then,catch:function(t){return this.then(null,t)}},polyfill(),Promise.polyfill=polyfill,Promise.Promise=Promise,Promise})}).call(e,n(37),n(2))},function(t,e,n){(function(){t.exports={xpath:n(20),Range:n(38)}}).call(this)},function(t,e,n){(function(){var e,i;e=n(0),i={},i.NodeTypes={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},i.getFirstTextNodeNotBefore=function(t){var e;switch(t.nodeType){case i.NodeTypes.TEXT_NODE:return t;case i.NodeTypes.ELEMENT_NODE:if(null!=t.firstChild&&null!=(e=i.getFirstTextNodeNotBefore(t.firstChild)))return e}return t=t.nextSibling,null!=t?i.getFirstTextNodeNotBefore(t):null},i.getLastTextNodeUpTo=function(t){var e;switch(t.nodeType){case i.NodeTypes.TEXT_NODE:return t;case i.NodeTypes.ELEMENT_NODE:if(null!=t.lastChild&&null!=(e=i.getLastTextNodeUpTo(t.lastChild)))return e}return t=t.previousSibling,null!=t?i.getLastTextNodeUpTo(t):null},i.getTextNodes=function(t){var e;return e=function(t){var n;if(t&&t.nodeType!==i.NodeTypes.TEXT_NODE){if(n=[],t.nodeType!==i.NodeTypes.COMMENT_NODE)for(t=t.lastChild;t;)n.push(e(t)),t=t.previousSibling;return n.reverse()}return t},t.map(function(){return i.flatten(e(this))})},i.getGlobal=function(){return function(){return this}()},i.contains=function(t,e){var n;for(n=e;null!=n;){if(n===t)return!0;n=n.parentNode}return!1},i.flatten=function(t){var n;return(n=function(t){var i,r,o,a;for(r=[],o=0,a=t.length;o<a;o++)i=t[o],r=r.concat(i&&e.isArray(i)?n(i):i);return r})(t)},t.exports=i}).call(this)},function(t,e,n){(function(){var e,i,r,o,a,s,l,u,c,d;e=n(0),i=n(19),r=function(t,e,n){var i,r,a,s,l,u,c,d;null==e&&(e=document),null==n&&(n=null);try{return document.evaluate("."+t,e,n,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}catch(n){for(n,console.log("XPath evaluation failed."),console.log("Trying fallback..."),l=t.substring(1).split("/"),a=e,u=0,c=l.length;u<c;u++)s=l[u],d=s.split("["),r=d[0],i=d[1],i=null!=i?parseInt((null!=i?i.split("]"):void 0)[0]):1,a=o(a,r.toLowerCase(),i);return a}},u=function(t,n){var r;return r=t.map(function(){var t,r,o,a;for(o="",t=this;(null!=t?t.nodeType:void 0)===i.NodeTypes.ELEMENT_NODE&&t!==n;)a=t.tagName.replace(":","\\:"),r=e(t.parentNode).children(a).index(t)+1,r="["+r+"]",o="/"+t.tagName.toLowerCase()+r+o,t=t.parentNode;return o}),r.get()},c=function(t,e){var n,i,r,o;return n=function(t){var e,n;return e=s(t),n=l(t),e+"["+n+"]"},o=e,i=function(t){var e;for(e="";t!==o;){if(null==t)throw new Error("Called getPathTo on a node which was not a descendant of @rootNode. "+o);e=n(t)+"/"+e,t=t.parentNode}return e="/"+e,e=e.replace(/\/$/,"")},r=t.map(function(){return i(this)}),r.get()},o=function(t,e,n){var i,r,o,a,l;if(!t.hasChildNodes())throw new Error("XPath error: node has no children!");for(r=t.childNodes,o=0,a=0,l=r.length;a<l;a++)if(i=r[a],s(i)===e&&(o+=1)===n)return i;throw new Error("XPath error: wanted child not found.")},s=function(t){var e;switch(e=t.nodeName.toLowerCase()){case"#text":return"text()";case"#comment":return"comment()";case"#cdata-section":return"cdata-section()";default:return e}},l=function(t){var e,n;for(e=0,n=t;n;)n.nodeName===t.nodeName&&(e+=1),n=n.previousSibling;return e},a=function(t,e){var n;try{n=u(t,e)}catch(i){i,console.log("jQuery-based XPath construction failed! Falling back to manual."),n=c(t,e)}return n},d=function(t,n){var i,o,a,s;return null==n&&(n=document),e.isXMLDoc(document.documentElement)?(i=document.createNSResolver(null===document.ownerDocument?document.documentElement:document.ownerDocument.documentElement),a=r(t,n,i),a||(t=function(){var e,n,i,r;for(i=t.split("/"),r=[],e=0,n=i.length;e<n;e++)s=i[e],s&&-1===s.indexOf(":")?r.push(s.replace(/^([a-z]+)/,"xhtml:$1")):r.push(s);return r}().join("/"),o=document.lookupNamespaceURI(null),i=function(t){return"xhtml"===t?o:document.documentElement.getAttribute("xmlns:"+t)},a=r(t,n,i)),a):r(t,n)},t.exports={fromNode:a,toNode:d}}).call(this)},function(t,e,n){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var i=n(0),r=_interopRequireDefault(i),o=n(22),a=_interopRequireDefault(o);n(34),n(33),n(31),n(14),n(15);var s=n(30);(0,r.default)(document).ready(function(){if((0,r.default)("article").length){var t=new a.default.App;t.include(a.default.ui.main,{element:document.querySelector("article")});var e={permits:function(){return!0}};t.registry.registerUtility(e,"authorizationPolicy");var n=JSON.parse((0,r.default)("#annotationroutes").html());t.include(a.default.storage.http,r.default.extend({},n,{onError:function(t,e){if(!Object.prototype.hasOwnProperty.call(e,"responseJSON"))return void a.default.notification.banner("An error occurred","error");r.default.each(e.responseJSON.children,function(t,e){e.errors&&r.default.each(e.errors,function(t,e){a.default.notification.banner(e,"error")})})}})),t.start().then(function(){t.annotations.load({entry:n.entryId})}),(0,r.default)(window).scroll(function(){var t=(0,r.default)(window).scrollTop(),e=(0,r.default)(document).height(),i=t/e,o=Math.round(100*i)/100;(0,s.savePercent)(n.entryId,o)}),(0,s.retrievePercent)(n.entryId),(0,r.default)(window).resize(function(){(0,s.retrievePercent)(n.entryId)})}})},function(t,e,n){"use strict";(function(t){n(35)(n(32));var i=n(23),r=n(1);e.App=i.App,e.authz=n(5),e.identity=n(6),e.notification=n(7),e.storage=n(8),e.ui=n(25),e.util=r,e.ext={};var o=t.wgxpath;void 0!==o&&null!==o&&"function"==typeof o.install&&o.install();var a=t.annotator;e.noConflict=function(){return t.annotator=a,this}}).call(e,n(2))},function(t,e,n){"use strict";function App(){this.modules=[],this.registry=new l.Registry,this._started=!1,this.registry.registerUtility(s.defaultNotifier,"notifier"),this.include(o.acl),this.include(a.simple),this.include(u.noop)}var i=n(16),r=n(17).Promise,o=n(5),a=n(6),s=n(7),l=n(24),u=n(8);App.prototype.include=function(t,e){var n=t(e);return"function"==typeof n.configure&&n.configure(this.registry),this.modules.push(n),this},App.prototype.start=function(){if(!this._started){this._started=!0;var t=this,e=this.registry;return this.authz=e.getUtility("authorizationPolicy"),this.ident=e.getUtility("identityPolicy"),this.notify=e.getUtility("notifier"),this.annotations=new u.StorageAdapter(e.getUtility("storage"),function(){return t.runHook.apply(t,arguments)}),this.runHook("start",[this])}},App.prototype.destroy=function(){return this.runHook("destroy")},App.prototype.runHook=function(t,e){for(var n=[],i=0,o=this.modules.length;i<o;i++){var a=this.modules[i];"function"==typeof a[t]&&n.push(a[t].apply(a,e))}return r.all(n)},App.extend=i,e.App=App},function(t,e,n){"use strict";function Registry(){this.utilities={}}function LookupError(t){this.name="LookupError",this.message='No utility registered for interface "'+t+'".'}Registry.prototype.registerUtility=function(t,e){this.utilities[e]=t},Registry.prototype.getUtility=function(t){var e=this.queryUtility(t);if(null===e)throw new LookupError(t);return e},Registry.prototype.queryUtility=function(t){var e=this.utilities[t];return void 0===e||null===e?null:e},LookupError.prototype=Object.create(Error.prototype),LookupError.prototype.constructor=LookupError,e.LookupError=LookupError,e.Registry=Registry},function(t,e,n){e.main=n(27).main,e.adder=n(9),e.editor=n(10),e.filter=n(26),e.highlighter=n(11),e.markdown=n(28),e.tags=n(29),e.textselector=n(12),e.viewer=n(13),e.widget=n(3)},function(t,e,n){"use strict";var i=n(1),r=i.$,o=i.gettext,a="annotator-filter",s=e.Filter=function Filter(t){this.options=r.extend(!0,{},Filter.options,t),this.classes=r.extend(!0,{},Filter.classes),this.element=r(Filter.html.element).appendTo(this.options.appendTo),this.filter=r(Filter.html.filter),this.filters=[],this.current=0;for(var e=0,n=this.options.filters.length;e<n;e++){var i=this.options.filters[e];this.addFilter(i)}this.updateHighlights();var s=".annotator-filter-property input",l=this;this.element.on("focus."+a,s,function(t){l._onFilterFocus(t)}).on("blur."+a,s,function(t){l._onFilterBlur(t)}).on("keyup."+a,s,function(t){l._onFilterKeyup(t)}).on("click."+a,".annotator-filter-previous",function(t){l._onPreviousClick(t)}).on("click."+a,".annotator-filter-next",function(t){l._onNextClick(t)}).on("click."+a,".annotator-filter-clear",function(t){l._onClearClick(t)}),this._insertSpacer(),this.options.addAnnotationFilter&&this.addFilter({label:o("Annotation"),property:"text"})};s.prototype.destroy=function(){var t=r("html"),e=parseInt(t.css("padding-top"),10)||0;t.css("padding-top",e-this.element.outerHeight()),this.element.off("."+a),this.element.remove()},s.prototype._insertSpacer=function(){var t=r("html"),e=parseInt(t.css("padding-top"),10)||0;return t.css("padding-top",e+this.element.outerHeight()),this},s.prototype.addFilter=function(t){for(var e=r.extend({label:"",property:"",isFiltered:this.options.isFiltered},t),n=!1,i=0,a=this.filters.length;i<a;i++){if(this.filters[i].property===e.property){n=!0;break}}return n||(e.id="annotator-filter-"+e.property,e.annotations=[],e.element=this.filter.clone().appendTo(this.element),e.element.find("label").html(e.label).attr("for",e.id),e.element.find("input").attr({id:e.id,placeholder:o("Filter by ")+e.label+"…"}),e.element.find("button").hide(),e.element.data("filter",e),this.filters.push(e)),this},s.prototype.updateFilter=function(t){t.annotations=[],this.updateHighlights(),this.resetHighlights();var e=r.trim(t.element.find("input").val());if(e){var n=this.highlights.map(function(){return r(this).data("annotation")});n=r.makeArray(n);for(var i=0,o=n.length;i<o;i++){var a=n[i],s=a[t.property];t.isFiltered(e,s)&&t.annotations.push(a)}this.filterHighlights()}},s.prototype.updateHighlights=function(){this.highlights=r(this.options.filterElement).find(".annotator-hl:visible"),this.filtered=this.highlights.not(this.classes.hl.hide)},s.prototype.filterHighlights=function(){var t=r.grep(this.filters,function(t){return Boolean(t.annotations.length)}),e=[];if(t.length>0&&(e=t[0].annotations),t.length>1){var n=[];r.each(t,function(){r.merge(n,this.annotations)});var i=[];e=[],r.each(n,function(){-1===r.inArray(this,i)?i.push(this):e.push(this)})}for(var o=this.highlights,a=0,s=e.length;a<s;a++)o=o.not(e[a]._local.highlights);return o.addClass(this.classes.hl.hide),this.filtered=this.highlights.not(this.classes.hl.hide),this},s.prototype.resetHighlights=function(){return this.highlights.removeClass(this.classes.hl.hide),this.filtered=this.highlights,this},s.prototype._onFilterFocus=function(t){var e=r(t.target);e.parent().addClass(this.classes.active),e.next("button").show()},s.prototype._onFilterBlur=function(t){if(!t.target.value){var e=r(t.target);e.parent().removeClass(this.classes.active),e.next("button").hide()}},s.prototype._onFilterKeyup=function(t){var e=r(t.target).parent().data("filter");e&&this.updateFilter(e)},s.prototype._findNextHighlight=function(t){if(0===this.highlights.length)return this;var e=-1,n=0,i="gt";t&&(e=0,n=-1,i="lt");var r=this.highlights.not("."+this.classes.hl.hide),o=r.filter("."+this.classes.hl.active);0===o.length&&(o=r.eq(e));var a=o.data("annotation"),s=r.index(o[0]),l=r.filter(":"+i+"("+s+")").not(a._local.highlights).eq(n);0===l.length&&(l=r.eq(n)),this._scrollToHighlight(l.data("annotation")._local.highlights)},s.prototype._onNextClick=function(){this._findNextHighlight()},s.prototype._onPreviousClick=function(){this._findNextHighlight(!0)},s.prototype._scrollToHighlight=function(t){t=r(t),this.highlights.removeClass(this.classes.hl.active),t.addClass(this.classes.hl.active),r("html, body").animate({scrollTop:t.offset().top-(this.element.height()+20)},150)},s.prototype._onClearClick=function(t){r(t.target).prev("input").val("").keyup().blur()},s.classes={active:"annotator-filter-active",hl:{hide:"annotator-hl-filtered",active:"annotator-hl-active"}},s.html={element:['<div class="annotator-filter">'," <strong>"+o("Navigate:")+"</strong>",' <span class="annotator-filter-navigation">',' <button type="button"',' class="annotator-filter-previous">'+o("Previous")+"</button>",' <button type="button"',' class="annotator-filter-next">'+o("Next")+"</button>"," </span>"," <strong>"+o("Filter by:")+"</strong>","</div>"].join("\n"),filter:['<span class="annotator-filter-property">'," <label></label>"," <input/>",' <button type="button"',' class="annotator-filter-clear">'+o("Clear")+"</button>","</span>"].join("\n")},s.options={appendTo:"body",filterElement:"body",filters:[],addAnnotationFilter:!0,isFiltered:function(t,e){if(!t||!e)return!1;for(var n=t.split(/\s+/),i=0,r=n.length;i<r;i++)if(-1===e.indexOf(n[i]))return!1;return!0}},e.standalone=function(t){var n=new e.Filter(t);return{destroy:function(){n.destroy()},annotationsLoaded:function(){n.updateHighlights()},annotationCreated:function(){n.updateHighlights()},annotationUpdated:function(){n.updateHighlights()},annotationDeleted:function(){n.updateHighlights()}}}},function(t,e,n){"use strict";(function(t){function trim(t){return"function"==typeof String.prototype.trim?String.prototype.trim.call(t):t.replace(/^[\s\xA0]+|[\s\xA0]+$/g,"")}function annotationFactory(t,e){return function(n){for(var i=[],r=[],o=0,a=n.length;o<a;o++){var s=n[o];i.push(trim(s.text())),r.push(s.serialize(t,e))}return{quote:i.join(" / "),ranges:r}}}function maxZIndex(t){for(var e=-1,n=0,r=t.length;n<r;n++){var o=i.$(t[n]);if("static"!==o.css("position")){var a=parseFloat(o.css("z-index"));a>e&&(e=a)}}return e}function injectDynamicStyle(){i.$("#annotator-dynamic-style").remove();var e=maxZIndex(i.$(t.document.body).find("*:not(annotator-adder):not(annotator-outer):not(annotator-notice):not(annotator-filter)").get());e=Math.max(e,1e3);var n=[".annotator-adder, .annotator-outer, .annotator-notice {"," z-index: "+(e+20)+";","}",".annotator-filter {"," z-index: "+(e+10)+";","}"].join("\n");i.$("<style>"+n+"</style>").attr("id","annotator-dynamic-style").attr("type","text/css").appendTo("head")}function removeDynamicStyle(){i.$("#annotator-dynamic-style").remove()}function addPermissionsCheckboxes(t,e,n){function createLoadCallback(t){return function(r,o){r=i.$(r).show();var a=e.who(),s=r.find("input");void 0!==a&&null!==a||r.hide(),n.permits("admin",o,a)||r.hide(),n.permits(t,o,null)?s.attr("checked","checked"):s.removeAttr("checked")}}function createSubmitCallback(t){return function(r,o){var a=e.who();void 0!==a&&null!==a&&(o.permissions||(o.permissions={}),i.$(r).find("input").is(":checked")?delete o.permissions[t]:o.permissions[t]=[n.authorizedUserId(a)])}}t.addField({type:"checkbox",label:u("Allow anyone to <strong>view</strong> this annotation"),load:createLoadCallback("read"),submit:createSubmitCallback("read")}),t.addField({type:"checkbox",label:u("Allow anyone to <strong>edit</strong> this annotation"),load:createLoadCallback("update"),submit:createSubmitCallback("update")})}function main(e){function start(t){var c=t.registry.getUtility("identityPolicy"),d=t.registry.getUtility("authorizationPolicy");u.adder=new r.Adder({onCreate:function(e){t.annotations.create(e)}}),u.adder.attach(),u.editor=new o.Editor({extensions:e.editorExtensions}),u.editor.attach(),addPermissionsCheckboxes(u.editor,c,d),u.highlighter=new a.Highlighter(e.element),u.textselector=new s.TextSelector(e.element,{onSelection:function(t,e){if(t.length>0){var r=n(t);u.interactionPoint=i.mousePosition(e),u.adder.load(r,u.interactionPoint)}else u.adder.hide()}}),u.viewer=new l.Viewer({onEdit:function(e){u.interactionPoint=i.$(u.viewer.element).css(["top","left"]),t.annotations.update(e)},onDelete:function(e){t.annotations.delete(e)},permitEdit:function(t){return d.permits("update",t,c.who())},permitDelete:function(t){return d.permits("delete",t,c.who())},autoViewHighlights:e.element,extensions:e.viewerExtensions}),u.viewer.attach(),injectDynamicStyle()}void 0!==e&&null!==e||(e={}),e.element=e.element||t.document.body,e.editorExtensions=e.editorExtensions||[],e.viewerExtensions=e.viewerExtensions||[];var n=annotationFactory(e.element,".annotator-hl"),u={interactionPoint:null};return{start:start,destroy:function(){u.adder.destroy(),u.editor.destroy(),u.highlighter.destroy(),u.textselector.destroy(),u.viewer.destroy(),removeDynamicStyle()},annotationsLoaded:function(t){u.highlighter.drawAll(t)},annotationCreated:function(t){u.highlighter.draw(t)},annotationDeleted:function(t){u.highlighter.undraw(t)},annotationUpdated:function(t){u.highlighter.redraw(t)},beforeAnnotationCreated:function(t){return u.editor.load(t,u.interactionPoint)},beforeAnnotationUpdated:function(t){return u.editor.load(t,u.interactionPoint)}}}var i=n(1),r=n(9),o=n(10),a=n(11),s=n(12),l=n(13),u=i.gettext;e.main=main}).call(e,n(2))},function(t,e,n){"use strict";(function(t){var i=n(1),r=i.gettext,o=e.render=function(e){var n=i.escapeHtml;return t.showdown&&"function"==typeof t.showdown.Converter&&(n=(new t.showdown.Converter).makeHtml),e.text?n(e.text):"<i>"+r("No comment")+"</i>"};e.viewerExtension=function(e){t.showdown&&"function"==typeof t.showdown.Converter||console.warn(r("To use the Markdown plugin, you must include Showdown into the page first.")),e.setRenderer(o)}}).call(e,n(2))},function(t,e,n){"use strict";function stringifyTags(t){return t.join(" ")}function parseTags(t){t=r.trim(t);var e=[];return t&&(e=t.split(/\s+/)),e}var i=n(1),r=i.$,o=i.gettext;e.viewerExtension=function(t){function updateViewer(t,e){t=r(t),e.tags&&r.isArray(e.tags)&&e.tags.length?t.addClass("annotator-tags").html(function(){return r.map(e.tags,function(t){return'<span class="annotator-tag">'+i.escapeHtml(t)+"</span>"}).join(" ")}):t.remove()}t.addField({load:updateViewer})},e.editorExtension=function(t){function updateField(t,e){var i="";e.tags&&(i=stringifyTags(e.tags)),n.val(i)}function setAnnotationTags(t,e){e.tags=parseTags(n.val())}var e=null,n=null;e=t.addField({label:o("Add some tags here")+"…",load:updateField,submit:setAnnotationTags}),n=r(e).find(":input")}},function(t,e,n){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function supportsLocalStorage(){try{return"localStorage"in window&&null!==window.localStorage}catch(t){return!1}}function savePercent(t,e){return!!supportsLocalStorage()&&(localStorage["wallabag.article."+t+".percent"]=e,!0)}function retrievePercent(t){if(!supportsLocalStorage())return!1;var e=(0,r.default)(document).height(),n=localStorage["wallabag.article."+t+".percent"],i=e*n;return(0,r.default)("html,body").animate({scrollTop:i},"fast"),!0}Object.defineProperty(e,"__esModule",{value:!0}),e.retrievePercent=e.savePercent=void 0;var i=n(0),r=_interopRequireDefault(i);n(15),n(14);var o=n(36);_interopRequireDefault(o);e.savePercent=savePercent,e.retrievePercent=retrievePercent},function(t,e){},function(t,e){},function(t,e){},function(t,e){},function(t,e){var n={};t.exports=function(t,e){if(!n[t]){n[t]=!0;var i=document.createElement("style");i.setAttribute("type","text/css"),"textContent"in i?i.textContent=t:i.styleSheet.cssText=t;var r=document.getElementsByTagName("head")[0];e&&e.prepend?r.insertBefore(i,r.childNodes[0]):r.appendChild(i)}}},function(t,e,n){!function(e,n){t.exports=n()}(0,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";t.exports=n(3)},function(t,e){"use strict";!function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(t){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(void 0!==i&&null!==i){i=Object(i);for(var r=Object.keys(Object(i)),o=0,a=r.length;o<a;o++){var s=r[o],l=Object.getOwnPropertyDescriptor(i,s);void 0!==l&&l.enumerable&&(e[s]=i[s])}}}return e}})}()},function(t,e){"use strict";t.exports=function(){var t={};return t.utf16to8=function(t){var e,n,i,r;for(e="",i=t.length,n=0;n<i;n++)r=t.charCodeAt(n),r>=1&&r<=127?e+=t.charAt(n):r>2047?(e+=String.fromCharCode(224|r>>12&15),e+=String.fromCharCode(128|r>>6&63),e+=String.fromCharCode(128|r>>0&63)):(e+=String.fromCharCode(192|r>>6&31),e+=String.fromCharCode(128|r>>0&63));return e},t.utf8to16=function(t){var e,n,i,r,o,a;for(e="",i=t.length,n=0;n<i;)switch((r=t.charCodeAt(n++))>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:e+=t.charAt(n-1);break;case 12:case 13:o=t.charCodeAt(n++),e+=String.fromCharCode((31&r)<<6|63&o);break;case 14:o=t.charCodeAt(n++),a=t.charCodeAt(n++),e+=String.fromCharCode((15&r)<<12|(63&o)<<6|(63&a)<<0)}return e},t}()},function(e,n,i){"use strict";i(1),i(4);var r=i(2),o=function(){function t(t){var e=new QRCode(t.typeNumber,t.correctLevel);e.addData(t.text),e.make();var n=document.createElement("canvas");n.width=t.width,n.height=t.height;var i=n.getContext("2d"),r=(t.width-2*t.padding)/e.getModuleCount(),o=(t.height-2*t.padding)/e.getModuleCount();if(t.reverse){var a="rgba(0, 0, 0, 0)";i.fillStyle=a,t.foreground=a}else i.fillStyle=t.background;i.fillRect(0,0,n.width,n.height);for(var s=0;s<e.getModuleCount();s++)for(var l=0;l<e.getModuleCount();l++){i.fillStyle=e.isDark(s,l)?t.foreground:t.background;var u=Math.ceil((l+1)*r)-Math.floor(l*r),c=Math.ceil((s+1)*r)-Math.floor(s*r);i.fillRect(Math.round(l*r)+t.padding,Math.round(s*o)+t.padding,u,c)}return n}var e={};return e.getQrBase64=function(e,n){"string"!=typeof e&&(e=""),"string"==typeof n?n={text:n}:"object"!=typeof n&&(n={}),n=Object.assign({padding:10,width:256,height:256,typeNumber:-1,correctLevel:QRErrorCorrectLevel.H,reverse:!1,background:"#ffffff",foreground:"#000000"},n);try{n.text=r.utf16to8(e)}catch(t){n.text=""+t}return t(n).toDataURL()},e.QRErrorCorrectLevel=QRErrorCorrectLevel,e}();!window.jrQrcode&&(window.jrQrcode=o),e.exports=o},function(t,e){function r(t){this.mode=s.MODE_8BIT_BYTE,this.data=t}function o(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}function n(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);for(var n=0;n<t.length&&0==t[n];)n++;this.num=new Array(t.length-n+e);for(var i=0;i<t.length-n;i++)this.num[i]=t[i+n]}function i(t,e){this.totalCount=t,this.dataCount=e}function a(){this.buffer=new Array,this.length=0}r.prototype={getLength:function(t){return this.data.length},write:function(t){for(var e=0;e<this.data.length;e++)t.put(this.data.charCodeAt(e),8)}},o.prototype={addData:function(t){var e=new r(t);this.dataList.push(e),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var t=1;for(t=1;t<40;t++){for(var e=i.getRSBlocks(t,this.errorCorrectLevel),n=new a,r=0,o=0;o<e.length;o++)r+=e[o].dataCount;for(var o=0;o<this.dataList.length;o++){var s=this.dataList[o];n.put(s.mode,4),n.put(s.getLength(),c.getLengthInBits(s.mode,t)),s.write(n)}if(n.getLengthInBits()<=8*r)break}this.typeNumber=t}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,e){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++){this.modules[n]=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++)this.modules[n][i]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,e),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=o.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,e)},setupPositionProbePattern:function(t,e){for(var n=-1;n<=7;n++)if(!(t+n<=-1||this.moduleCount<=t+n))for(var i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(this.modules[t+n][e+i]=0<=n&&n<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var t=0,e=0,n=0;n<8;n++){this.makeImpl(!0,n);var i=c.getLostPoint(this);(0==n||t>i)&&(t=i,e=n)}return e},createMovieClip:function(t,e,n){var i=t.createEmptyMovieClip(e,n);this.make();for(var r=0;r<this.modules.length;r++)for(var o=1*r,a=0;a<this.modules[r].length;a++){var s=1*a,l=this.modules[r][a];l&&(i.beginFill(0,100),i.moveTo(s,o),i.lineTo(s+1,o),i.lineTo(s+1,o+1),i.lineTo(s,o+1),i.endFill())}return i},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=c.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var n=0;n<t.length;n++){var i=t[e],r=t[n];if(null==this.modules[i][r])for(var o=-2;o<=2;o++)for(var a=-2;a<=2;a++)this.modules[i+o][r+a]=-2==o||2==o||-2==a||2==a||0==o&&0==a}},setupTypeNumber:function(t){for(var e=c.getBCHTypeNumber(this.typeNumber),n=0;n<18;n++){var i=!t&&1==(e>>n&1);this.modules[Math.floor(n/3)][n%3+this.moduleCount-8-3]=i}for(var n=0;n<18;n++){var i=!t&&1==(e>>n&1);this.modules[n%3+this.moduleCount-8-3][Math.floor(n/3)]=i}},setupTypeInfo:function(t,e){for(var n=this.errorCorrectLevel<<3|e,i=c.getBCHTypeInfo(n),r=0;r<15;r++){var o=!t&&1==(i>>r&1);r<6?this.modules[r][8]=o:r<8?this.modules[r+1][8]=o:this.modules[this.moduleCount-15+r][8]=o}for(var r=0;r<15;r++){var o=!t&&1==(i>>r&1);r<8?this.modules[8][this.moduleCount-r-1]=o:r<9?this.modules[8][15-r-1+1]=o:this.modules[8][15-r-1]=o}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var n=-1,i=this.moduleCount-1,r=7,o=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[i][a-s]){var l=!1;o<t.length&&(l=1==(t[o]>>>r&1));var u=c.getMask(e,i,a-s);u&&(l=!l),this.modules[i][a-s]=l,-1==--r&&(o++,r=7)}if((i+=n)<0||this.moduleCount<=i){i-=n,n=-n;break}}}},o.PAD0=236,o.PAD1=17,o.createData=function(t,e,n){for(var r=i.getRSBlocks(t,e),s=new a,l=0;l<n.length;l++){var u=n[l];s.put(u.mode,4),s.put(u.getLength(),c.getLengthInBits(u.mode,t)),u.write(s)}for(var d=0,l=0;l<r.length;l++)d+=r[l].dataCount;if(s.getLengthInBits()>8*d)throw new Error("code length overflow. ("+s.getLengthInBits()+">"+8*d+")");for(s.getLengthInBits()+4<=8*d&&s.put(0,4);s.getLengthInBits()%8!=0;)s.putBit(!1);for(;!(s.getLengthInBits()>=8*d)&&(s.put(o.PAD0,8),!(s.getLengthInBits()>=8*d));)s.put(o.PAD1,8);return o.createBytes(s,r)},o.createBytes=function(t,e){for(var i=0,r=0,o=0,a=new Array(e.length),s=new Array(e.length),l=0;l<e.length;l++){var u=e[l].dataCount,d=e[l].totalCount-u;r=Math.max(r,u),o=Math.max(o,d),a[l]=new Array(u);for(var f=0;f<a[l].length;f++)a[l][f]=255&t.buffer[f+i];i+=u;var h=c.getErrorCorrectPolynomial(d),p=new n(a[l],h.getLength()-1),g=p.mod(h);s[l]=new Array(h.getLength()-1);for(var f=0;f<s[l].length;f++){var v=f+g.getLength()-s[l].length;s[l][f]=v>=0?g.get(v):0}}for(var m=0,f=0;f<e.length;f++)m+=e[f].totalCount;for(var y=new Array(m),b=0,f=0;f<r;f++)for(var l=0;l<e.length;l++)f<a[l].length&&(y[b++]=a[l][f]);for(var f=0;f<o;f++)for(var l=0;l<e.length;l++)f<s[l].length&&(y[b++]=s[l][f]);return y};for(var s={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},l={L:1,M:0,Q:3,H:2},u={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},c={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){for(var e=t<<10;c.getBCHDigit(e)-c.getBCHDigit(c.G15)>=0;)e^=c.G15<<c.getBCHDigit(e)-c.getBCHDigit(c.G15);return(t<<10|e)^c.G15_MASK},getBCHTypeNumber:function(t){for(var e=t<<12;c.getBCHDigit(e)-c.getBCHDigit(c.G18)>=0;)e^=c.G18<<c.getBCHDigit(e)-c.getBCHDigit(c.G18);return t<<12|e},getBCHDigit:function(t){for(var e=0;0!=t;)e++,t>>>=1;return e},getPatternPosition:function(t){return c.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,n){switch(t){case u.PATTERN000:return(e+n)%2==0;case u.PATTERN001:return e%2==0;case u.PATTERN010:return n%3==0;case u.PATTERN011:return(e+n)%3==0;case u.PATTERN100:return(Math.floor(e/2)+Math.floor(n/3))%2==0;case u.PATTERN101:return e*n%2+e*n%3==0;case u.PATTERN110:return(e*n%2+e*n%3)%2==0;case u.PATTERN111:return(e*n%3+(e+n)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new n([1],0),i=0;i<t;i++)e=e.multiply(new n([1,d.gexp(i)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case s.MODE_NUMBER:return 10;case s.MODE_ALPHA_NUM:return 9;case s.MODE_8BIT_BYTE:case s.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case s.MODE_NUMBER:return 12;case s.MODE_ALPHA_NUM:return 11;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case s.MODE_NUMBER:return 14;case s.MODE_ALPHA_NUM:return 13;case s.MODE_8BIT_BYTE:return 16;case s.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),n=0,i=0;i<e;i++)for(var r=0;r<e;r++){for(var o=0,a=t.isDark(i,r),s=-1;s<=1;s++)if(!(i+s<0||e<=i+s))for(var l=-1;l<=1;l++)r+l<0||e<=r+l||0==s&&0==l||a==t.isDark(i+s,r+l)&&o++;o>5&&(n+=3+o-5)}for(var i=0;i<e-1;i++)for(var r=0;r<e-1;r++){var u=0;t.isDark(i,r)&&u++,t.isDark(i+1,r)&&u++,t.isDark(i,r+1)&&u++,t.isDark(i+1,r+1)&&u++,0!=u&&4!=u||(n+=3)}for(var i=0;i<e;i++)for(var r=0;r<e-6;r++)t.isDark(i,r)&&!t.isDark(i,r+1)&&t.isDark(i,r+2)&&t.isDark(i,r+3)&&t.isDark(i,r+4)&&!t.isDark(i,r+5)&&t.isDark(i,r+6)&&(n+=40);for(var r=0;r<e;r++)for(var i=0;i<e-6;i++)t.isDark(i,r)&&!t.isDark(i+1,r)&&t.isDark(i+2,r)&&t.isDark(i+3,r)&&t.isDark(i+4,r)&&!t.isDark(i+5,r)&&t.isDark(i+6,r)&&(n+=40);for(var c=0,r=0;r<e;r++)for(var i=0;i<e;i++)t.isDark(i,r)&&c++;return n+=Math.abs(100*c/e/e-50)/5*10}},d={glog:function(t){if(t<1)throw new Error("glog("+t+")");return d.LOG_TABLE[t]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return d.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},f=0;f<8;f++)d.EXP_TABLE[f]=1<<f;for(var f=8;f<256;f++)d.EXP_TABLE[f]=d.EXP_TABLE[f-4]^d.EXP_TABLE[f-5]^d.EXP_TABLE[f-6]^d.EXP_TABLE[f-8];for(var f=0;f<255;f++)d.LOG_TABLE[d.EXP_TABLE[f]]=f;n.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),i=0;i<this.getLength();i++)for(var r=0;r<t.getLength();r++)e[i+r]^=d.gexp(d.glog(this.get(i))+d.glog(t.get(r)));return new n(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=d.glog(this.get(0))-d.glog(t.get(0)),i=new Array(this.getLength()),r=0;r<this.getLength();r++)i[r]=this.get(r);for(var r=0;r<t.getLength();r++)i[r]^=d.gexp(d.glog(t.get(r))+e);return new n(i,0).mod(t)}},i.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],i.getRSBlocks=function(t,e){var n=i.getRsBlockTable(t,e);if(void 0==n)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var r=n.length/3,o=new Array,a=0;a<r;a++)for(var s=n[3*a+0],l=n[3*a+1],u=n[3*a+2],c=0;c<s;c++)o.push(new i(l,u));return o},i.getRsBlockTable=function(t,e){switch(e){case l.L:return i.RS_BLOCK_TABLE[4*(t-1)+0];case l.M:return i.RS_BLOCK_TABLE[4*(t-1)+1];case l.Q:return i.RS_BLOCK_TABLE[4*(t-1)+2];case l.H:return i.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},a.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var n=0;n<e;n++)this.putBit(1==(t>>>e-n-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},window.QRCode=o,window.QRErrorCorrectLevel=l;try{t.exports={QRCode:o,QRErrorCorrectLevel:l}}catch(t){}}])})},function(t,e){function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(t){if(n===setTimeout)return setTimeout(t,0);if((n===defaultSetTimout||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function runClearTimeout(t){if(i===clearTimeout)return clearTimeout(t);if((i===defaultClearTimeout||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}function cleanUpNextTick(){s&&o&&(s=!1,o.length?a=o.concat(a):l=-1,a.length&&drainQueue())}function drainQueue(){if(!s){var t=runTimeout(cleanUpNextTick);s=!0;for(var e=a.length;e;){for(o=a,a=[];++l<e;)o&&o[l].run();l=-1,e=a.length}o=null,s=!1,runClearTimeout(t)}}function Item(t,e){this.fun=t,this.array=e}function noop(){}var n,i,r=t.exports={};!function(){try{n="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(t){n=defaultSetTimout}try{i="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(t){i=defaultClearTimeout}}();var o,a=[],s=!1,l=-1;r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];a.push(new Item(t,e)),1!==a.length||s||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=noop,r.addListener=noop,r.once=noop,r.off=noop,r.removeListener=noop,r.removeAllListeners=noop,r.emit=noop,r.prependListener=noop,r.prependOnceListener=noop,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(t,e,n){(function(){var e,i,r,o,a={}.hasOwnProperty,s=function(t,e){function ctor(){this.constructor=t}for(var n in e)a.call(e,n)&&(t[n]=e[n]);return ctor.prototype=e.prototype,t.prototype=new ctor,t.__super__=e.prototype,t};o=n(20),r=n(19),e=n(0),i={},i.sniff=function(t){return null!=t.commonAncestorContainer?new i.BrowserRange(t):"string"==typeof t.start?new i.SerializedRange(t):t.start&&"object"==typeof t.start?new i.NormalizedRange(t):(console.error("Could not sniff range type"),!1)},i.RangeError=function(t){function RangeError(t,e,n){this.type=t,this.message=e,this.parent=null!=n?n:null,RangeError.__super__.constructor.call(this,this.message)}return s(RangeError,t),RangeError}(Error),i.BrowserRange=function(){function BrowserRange(t){this.commonAncestorContainer=t.commonAncestorContainer,this.startContainer=t.startContainer,this.startOffset=t.startOffset,this.endContainer=t.endContainer,this.endOffset=t.endOffset}return BrowserRange.prototype.normalize=function(t){var e,n;if(this.tainted)return console.error("You may only call normalize() once on a BrowserRange!"),!1;for(this.tainted=!0,n={},this._normalizeStart(n),this._normalizeEnd(n),e={},n.startOffset>0?n.start.nodeValue.length>n.startOffset?e.start=n.start.splitText(n.startOffset):e.start=n.start.nextSibling:e.start=n.start,n.start===n.end?(e.start.nodeValue.length>n.endOffset-n.startOffset&&e.start.splitText(n.endOffset-n.startOffset),e.end=e.start):(n.end.nodeValue.length>n.endOffset&&n.end.splitText(n.endOffset),e.end=n.end),e.commonAncestor=this.commonAncestorContainer;e.commonAncestor.nodeType!==r.NodeTypes.ELEMENT_NODE;)e.commonAncestor=e.commonAncestor.parentNode;return new i.NormalizedRange(e)},BrowserRange.prototype._normalizeStart=function(t){return this.startContainer.nodeType===r.NodeTypes.ELEMENT_NODE?(t.start=r.getFirstTextNodeNotBefore(this.startContainer.childNodes[this.startOffset]),t.startOffset=0):(t.start=this.startContainer,t.startOffset=this.startOffset)},BrowserRange.prototype._normalizeEnd=function(t){var e,n;if(this.endContainer.nodeType!==r.NodeTypes.ELEMENT_NODE)return t.end=this.endContainer,t.endOffset=this.endOffset;if(null!=(n=this.endContainer.childNodes[this.endOffset])){for(e=n;null!=e&&e.nodeType!==r.NodeTypes.TEXT_NODE;)e=e.firstChild;null!=e&&(t.end=e,t.endOffset=0)}return null==t.end?(n=this.endOffset?this.endContainer.childNodes[this.endOffset-1]:this.endContainer.previousSibling,t.end=r.getLastTextNodeUpTo(n),t.endOffset=t.end.nodeValue.length):void 0},BrowserRange.prototype.serialize=function(t,e){return this.normalize(t).serialize(t,e)},BrowserRange}(),i.NormalizedRange=function(){function NormalizedRange(t){this.commonAncestor=t.commonAncestor,this.start=t.start,this.end=t.end}return NormalizedRange.prototype.normalize=function(t){return this},NormalizedRange.prototype.limit=function(t){var n,i,r,o,a,s;if(n=e.grep(this.textNodes(),function(n){return n.parentNode===t||e.contains(t,n.parentNode)}),!n.length)return null;for(this.start=n[0],this.end=n[n.length-1],r=e(this.start).parents(),s=e(this.end).parents(),o=0,a=s.length;o<a;o++)if(i=s[o],-1!==r.index(i)){this.commonAncestor=i;break}return this},NormalizedRange.prototype.serialize=function(t,n){var a,s,l;return s=function(i,a){var s,l,u,c,d,f,h,p;for(c=n?e(i).parents(":not("+n+")").eq(0):e(i).parent(),d=o.fromNode(c,t)[0],f=r.getTextNodes(c),l=f.slice(0,f.index(i)),u=0,h=0,p=l.length;h<p;h++)s=l[h],u+=s.nodeValue.length;return a?[d,u+i.nodeValue.length]:[d,u]},l=s(this.start),a=s(this.end,!0),new i.SerializedRange({start:l[0],end:a[0],startOffset:l[1],endOffset:a[1]})},NormalizedRange.prototype.text=function(){var t;return function(){var e,n,i,r;for(i=this.textNodes(),r=[],e=0,n=i.length;e<n;e++)t=i[e],r.push(t.nodeValue);return r}.call(this).join("")},NormalizedRange.prototype.textNodes=function(){var t,n,i,o;return i=r.getTextNodes(e(this.commonAncestor)),o=[i.index(this.start),i.index(this.end)],n=o[0],t=o[1],e.makeArray(i.slice(n,+t+1||9e9))},NormalizedRange}(),i.SerializedRange=function(){function SerializedRange(t){this.start=t.start,this.startOffset=t.startOffset,this.end=t.end,this.endOffset=t.endOffset}return SerializedRange.prototype.normalize=function(t){var n,a,s,l,u,c,d,f,h,p,g,v,m,y;for(c={},m=["start","end"],h=0,g=m.length;h<g;h++){u=m[h];try{l=o.toNode(this[u],t)}catch(t){throw a=t,new i.RangeError(u,"Error while finding "+u+" node: "+this[u]+": "+a,a)}if(!l)throw new i.RangeError(u,"Couldn't find "+u+" node: "+this[u]);for(s=0,d=this[u+"Offset"],"end"===u&&(d-=1),y=r.getTextNodes(e(l)),p=0,v=y.length;p<v;p++){if(f=y[p],s+f.nodeValue.length>d){c[u+"Container"]=f,c[u+"Offset"]=this[u+"Offset"]-s;break}s+=f.nodeValue.length}if(null==c[u+"Offset"])throw new i.RangeError(u+"offset","Couldn't find offset "+this[u+"Offset"]+" in element "+this[u])}return n=null!=document.compareDocumentPosition?function(t,e){return t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY}:function(t,e){return t.contains(e)},e(c.startContainer).parents().each(function(){var t;if(t=c.endContainer.nodeType===r.NodeTypes.TEXT_NODE?c.endContainer.parentNode:c.endContainer,n(this,t))return c.commonAncestorContainer=this,!1}),new i.BrowserRange(c).normalize(t)},SerializedRange.prototype.serialize=function(t,e){return this.normalize(t).serialize(t,e)},SerializedRange.prototype.toObject=function(){return{start:this.start,startOffset:this.startOffset,end:this.end,endOffset:this.endOffset}},SerializedRange}(),t.exports=i}).call(this)},function(t,e){},,,,function(t,e,n){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}var i=n(4),r=_interopRequireDefault(i),o=n(0),a=_interopRequireDefault(o);(0,a.default)(document).ready(function(){(0,a.default)("#article").length>0&&(r.default.bind("o",function(){(0,a.default)("ul.side-nav a.original i")[0].click()}),r.default.bind("f",function(){(0,a.default)("ul.side-nav a.favorite i")[0].click()}),r.default.bind("a",function(){(0,a.default)("ul.side-nav a.markasread i")[0].click()}),r.default.bind("del",function(){(0,a.default)("ul.side-nav a.delete i")[0].click()}))})},function(t,e,n){"use strict";function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function toggleFocus(t){t&&(0,a.default)(t).toggleClass("z-depth-4")}var i=n(4),r=_interopRequireDefault(i),o=n(0),a=_interopRequireDefault(o);(0,a.default)(document).ready(function(){var t=(0,a.default)("#content").find(".card"),e=t.length,n=0;"#prev"===window.location.hash&&(n=e-1);var i=t[n],o=(0,a.default)(".pagination");(0,a.default)("#content > div.quickstart").length>0||(0,a.default)("#username").length>0||(0,a.default)("#fos_user_registration_form_username").length>0||(0,a.default)("#username").length>0||(0,a.default)("#fos_user_registration_form_username").length>0||(toggleFocus(i),r.default.bind("g n",function(){return(0,a.default)("#nav-btn-add").trigger("click"),!1}),r.default.bind("s",function(){return(0,a.default)("#nav-btn-search").trigger("click"),!1}),r.default.bind("esc",function(){(0,a.default)(".close").trigger("click")}),r.default.bind("right",function(){if(n>=0&&n<e-1)return toggleFocus(i),n+=1,i=t[n],void toggleFocus(i);o.length>0&&o.find("li.next:not(.disabled)").length>0&&n===e-1&&(window.location.href=window.location.origin+(0,a.default)(o).find("li.next a").attr("href"))}),r.default.bind("left",function(){if(n>0&&n<e)return toggleFocus(i),n-=1,i=t[n],void toggleFocus(i);o.length>0&&(0,a.default)(o).find("li.prev:not(.disabled)").length>0&&0===n&&(window.location.href=window.location.origin+(0,a.default)(o).find("li.prev a").attr("href")+"#prev")}),r.default.bind("enter",function(){window.location.href=window.location.origin+(0,a.default)(i).find("span.card-title a").attr("href")}))})},function(t,e,n){"use strict";function initFilters(){(0,r.default)("div").is("#filters")&&((0,r.default)("#button_filters").show(),(0,r.default)(".js-filters-action").sideNav({edge:"right"}),(0,r.default)("#clear_form_filters").on("click",function(){return(0,r.default)("#filters input").val(""),(0,r.default)("#filters :checked").removeAttr("checked"),!1}))}function initExport(){(0,r.default)("div").is("#export")&&((0,r.default)("#button_export").show(),(0,r.default)(".js-export-action").sideNav({edge:"right"}))}function initNotifications(){(0,r.default)("div").is("#notifications")&&((0,r.default)("#button_notifications").show(),(0,r.default)(".js-notifications-action").sideNav({edge:"right"}))}Object.defineProperty(e,"__esModule",{value:!0}),e.initNotifications=e.initFilters=e.initExport=void 0;var i=n(0),r=function(t){return t&&t.__esModule?t:{default:t}}(i);e.initExport=initExport,e.initFilters=initFilters,e.initNotifications=initNotifications},,,function(t,e){},function(t,e){},function(e,i,a){(function(d,f){var h,g,g,h,b,g,b,h,T,h,b,g;if(void 0===C){var C;C=d=a(0)}C.easing.jswing=C.easing.swing,C.extend(C.easing,{def:"easeOutQuad",swing:function(t,e,n,i,r){return C.easing[C.easing.def](t,e,n,i,r)},easeInQuad:function(t,e,n,i,r){return i*(e/=r)*e+n},easeOutQuad:function(t,e,n,i,r){return-i*(e/=r)*(e-2)+n},easeInOutQuad:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:-i/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,i,r){return i*(e/=r)*e*e+n},easeOutCubic:function(t,e,n,i,r){return i*((e=e/r-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e+n:i/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,i,r){return i*(e/=r)*e*e*e+n},easeOutQuart:function(t,e,n,i,r){return-i*((e=e/r-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e+n:-i/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,i,r){return i*(e/=r)*e*e*e*e+n},easeOutQuint:function(t,e,n,i,r){return i*((e=e/r-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e*e*e*e+n:i/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,i,r){return-i*Math.cos(e/r*(Math.PI/2))+i+n},easeOutSine:function(t,e,n,i,r){return i*Math.sin(e/r*(Math.PI/2))+n},easeInOutSine:function(t,e,n,i,r){return-i/2*(Math.cos(Math.PI*e/r)-1)+n},easeInExpo:function(t,e,n,i,r){return 0==e?n:i*Math.pow(2,10*(e/r-1))+n},easeOutExpo:function(t,e,n,i,r){return e==r?n+i:i*(1-Math.pow(2,-10*e/r))+n},easeInOutExpo:function(t,e,n,i,r){return 0==e?n:e==r?n+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+n:i/2*(2-Math.pow(2,-10*--e))+n},easeInCirc:function(t,e,n,i,r){return-i*(Math.sqrt(1-(e/=r)*e)-1)+n},easeOutCirc:function(t,e,n,i,r){return i*Math.sqrt(1-(e=e/r-1)*e)+n},easeInOutCirc:function(t,e,n,i,r){return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+n:i/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,i,r){var o=1.70158,a=0,s=i;if(0==e)return n;if(1==(e/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return-s*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/a)+n},easeOutElastic:function(t,e,n,i,r){var o=1.70158,a=0,s=i;if(0==e)return n;if(1==(e/=r))return n+i;if(a||(a=.3*r),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return s*Math.pow(2,-10*e)*Math.sin((e*r-o)*(2*Math.PI)/a)+i+n},easeInOutElastic:function(t,e,n,i,r){var o=1.70158,a=0,s=i;if(0==e)return n;if(2==(e/=r/2))return n+i;if(a||(a=r*(.3*1.5)),s<Math.abs(i)){s=i;var o=a/4}else var o=a/(2*Math.PI)*Math.asin(i/s);return e<1?s*Math.pow(2,10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/a)*-.5+n:s*Math.pow(2,-10*(e-=1))*Math.sin((e*r-o)*(2*Math.PI)/a)*.5+i+n},easeInBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*(e/=r)*e*((o+1)*e-o)+n},easeOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),i*((e=e/r-1)*e*((o+1)*e+o)+1)+n},easeInOutBack:function(t,e,n,i,r,o){return void 0==o&&(o=1.70158),(e/=r/2)<1?i/2*(e*e*((1+(o*=1.525))*e-o))+n:i/2*((e-=2)*e*((1+(o*=1.525))*e+o)+2)+n},easeInBounce:function(t,e,n,i,r){return i-C.easing.easeOutBounce(t,r-e,0,i,r)+n},easeOutBounce:function(t,e,n,i,r){return(e/=r)<1/2.75?i*(7.5625*e*e)+n:e<2/2.75?i*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?i*(7.5625*(e-=2.25/2.75)*e+.9375)+n:i*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(t,e,n,i,r){return e<r/2?.5*C.easing.easeInBounce(t,2*e,0,i,r)+n:.5*C.easing.easeOutBounce(t,2*e-r,0,i,r)+.5*i+n}}),C.extend(C.easing,{easeInOutMaterial:function(t,e,n,i,r){return(e/=r/2)<1?i/2*e*e+n:i/4*((e-=2)*e*e+2)+n}}),C.Velocity?console.log("Velocity is already loaded. You may be needlessly importing Velocity again; note that Materialize includes Velocity."):(function(n){function t(t){var e=t.length,n=i.type(t);return"function"!==n&&!i.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}if(!f){var i=function(t,e){return new i.fn.init(t,e)};i.isWindow=function(t){return null!=t&&t==t.window},i.type=function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?o[s.call(t)]||"object":typeof t},i.isArray=Array.isArray||function(t){return"array"===i.type(t)},i.isPlainObject=function(t){var e;if(!t||"object"!==i.type(t)||t.nodeType||i.isWindow(t))return!1;try{if(t.constructor&&!a.call(t,"constructor")&&!a.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}for(e in t);return void 0===e||a.call(t,e)},i.each=function(e,n,i){var r=0,o=e.length,a=t(e);if(i){if(a)for(;o>r&&!1!==n.apply(e[r],i);r++);else for(r in e)if(!1===n.apply(e[r],i))break}else if(a)for(;o>r&&!1!==n.call(e[r],r,e[r]);r++);else for(r in e)if(!1===n.call(e[r],r,e[r]))break;return e},i.data=function(t,e,n){if(void 0===n){var o=t[i.expando],a=o&&r[o];if(void 0===e)return a;if(a&&e in a)return a[e]}else if(void 0!==e){var o=t[i.expando]||(t[i.expando]=++i.uuid);return r[o]=r[o]||{},r[o][e]=n,n}},i.removeData=function(t,e){var n=t[i.expando],o=n&&r[n];o&&i.each(e,function(t,e){delete o[e]})},i.extend=function(){var t,e,n,r,o,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==i.type(s)&&(s={}),l===u&&(s=this,l--);u>l;l++)if(null!=(o=arguments[l]))for(r in o)t=s[r],n=o[r],s!==n&&(c&&n&&(i.isPlainObject(n)||(e=i.isArray(n)))?(e?(e=!1,a=t&&i.isArray(t)?t:[]):a=t&&i.isPlainObject(t)?t:{},s[r]=i.extend(c,a,n)):void 0!==n&&(s[r]=n));return s},i.queue=function(e,n,r){if(e){n=(n||"fx")+"queue";var o=i.data(e,n);return r?(!o||i.isArray(r)?o=i.data(e,n,function(e,n){var i=n||[];return null!=e&&(t(Object(e))?function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];t.length=r}(i,"string"==typeof e?[e]:e):[].push.call(i,e)),i}(r)):o.push(r),o):o||[]}},i.dequeue=function(t,e){i.each(t.nodeType?[t]:t,function(t,n){e=e||"fx";var r=i.queue(n,e),o=r.shift();"inprogress"===o&&(o=r.shift()),o&&("fx"===e&&r.unshift("inprogress"),o.call(n,function(){i.dequeue(n,e)}))})},i.fn=i.prototype={init:function(t){if(t.nodeType)return this[0]=t,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(n.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(n.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var t=this.offsetParent||document;t&&"html"===!t.nodeType.toLowerCase&&"static"===t.style.position;)t=t.offsetParent;return t||document}var t=this[0],e=e.apply(t),n=this.offset(),r=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:i(e).offset();return n.top-=parseFloat(t.style.marginTop)||0,n.left-=parseFloat(t.style.marginLeft)||0,e.style&&(r.top+=parseFloat(e.style.borderTopWidth)||0,r.left+=parseFloat(e.style.borderLeftWidth)||0),{top:n.top-r.top,left:n.left-r.left}}};var r={};i.expando="velocity"+(new Date).getTime(),i.uuid=0;for(var o={},a=o.hasOwnProperty,s=o.toString,l="Boolean Number String Function Array Date RegExp Object Error".split(" "),u=0;u<l.length;u++)o["[object "+l[u]+"]"]=l[u].toLowerCase();i.fn.init.prototype=i.fn,n.Velocity={Utilities:i}}}(window),function(t){"object"==typeof e&&"object"==typeof e.exports?e.exports=t():(h=t,void 0!==(g="function"==typeof h?h.call(i,a,i,e):h)&&(e.exports=g))}(function(){return function(r,a,h,v){function n(t){for(var e=-1,n=t?t.length:0,i=[];++e<n;){var r=t[e];r&&i.push(r)}return i}function o(t){return w.isWrapped(t)?t=[].slice.call(t):w.isNode(t)&&(t=[t]),t}function i(t){var e=m.data(t,"velocity");return null===e?v:e}function s(t){return function(e){return Math.round(e*t)*(1/t)}}function l(t,e,n,r){function o(t,e){return 1-3*e+3*t}function i(t,e){return 3*e-6*t}function s(t){return 3*t}function l(t,e,n){return((o(e,n)*t+i(e,n))*t+s(e))*t}function u(t,e,n){return 3*o(e,n)*t*t+2*i(e,n)*t+s(e)}function c(e,i){for(var r=0;h>r;++r){var o=u(i,t,n);if(0===o)return i;i-=(l(i,t,n)-e)/o}return i}function p(){for(var e=0;b>e;++e)C[e]=l(e*w,t,n)}function f(e,i,r){var o,a,s=0;do{a=i+(r-i)/2,o=l(a,t,n)-e,o>0?r=a:i=a}while(Math.abs(o)>m&&++s<y);return a}function d(e){for(var i=0,r=1,o=b-1;r!=o&&C[r]<=e;++r)i+=w;--r;var a=(e-C[r])/(C[r+1]-C[r]),s=i+a*w,l=u(s,t,n);return l>=v?c(e,s):0==l?s:f(e,i,i+w)}function g(){k=!0,(t!=e||n!=r)&&p()}var h=4,v=.001,m=1e-7,y=10,b=11,w=1/(b-1),x="Float32Array"in a;if(4!==arguments.length)return!1;for(var T=0;4>T;++T)if("number"!=typeof arguments[T]||isNaN(arguments[T])||!isFinite(arguments[T]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var C=x?new Float32Array(b):new Array(b),k=!1,E=function(i){return k||g(),t===e&&n===r?i:0===i?0:1===i?1:l(d(i),e,r)};E.getControlPoints=function(){return[{x:t,y:e},{x:n,y:r}]};var S="generateBezier("+[t,e,n,r]+")";return E.toString=function(){return S},E}function u(t,e){var n=t;return w.isString(t)?E.Easings[t]||(n=!1):n=w.isArray(t)&&1===t.length?s.apply(null,t):w.isArray(t)&&2===t.length?S.apply(null,t.concat([e])):!(!w.isArray(t)||4!==t.length)&&l.apply(null,t),!1===n&&(n=E.Easings[E.defaults.easing]?E.defaults.easing:k),n}function c(t){if(t){var e=(new Date).getTime(),r=E.State.calls.length;r>1e4&&(E.State.calls=n(E.State.calls));for(var o=0;r>o;o++)if(E.State.calls[o]){var a=E.State.calls[o],s=a[0],l=a[2],u=a[3],d=!!u,f=null;u||(u=E.State.calls[o][3]=e-16);for(var h=Math.min((e-u)/l.duration,1),g=0,y=s.length;y>g;g++){var b=s[g],x=b.element;if(i(x)){var T=!1;if(l.display!==v&&null!==l.display&&"none"!==l.display){if("flex"===l.display){var C=["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex"];m.each(C,function(t,e){_.setPropertyValue(x,"display",e)})}_.setPropertyValue(x,"display",l.display)}l.visibility!==v&&"hidden"!==l.visibility&&_.setPropertyValue(x,"visibility",l.visibility);for(var k in b)if("element"!==k){var S,A=b[k],D=w.isString(A.easing)?E.Easings[A.easing]:A.easing;if(1===h)S=A.endValue;else{var O=A.endValue-A.startValue;if(S=A.startValue+O*D(h,l,O),!d&&S===A.currentValue)continue}if(A.currentValue=S,"tween"===k)f=S;else{if(_.Hooks.registered[k]){var N=_.Hooks.getRoot(k),M=i(x).rootPropertyValueCache[N];M&&(A.rootPropertyValue=M)}var I=_.setPropertyValue(x,k,A.currentValue+(0===parseFloat(S)?"":A.unitType),A.rootPropertyValue,A.scrollData);_.Hooks.registered[k]&&(i(x).rootPropertyValueCache[N]=_.Normalizations.registered[N]?_.Normalizations.registered[N]("extract",null,I[1]):I[1]),"transform"===I[0]&&(T=!0)}}l.mobileHA&&i(x).transformCache.translate3d===v&&(i(x).transformCache.translate3d="(0px, 0px, 0px)",T=!0),T&&_.flushTransformCache(x)}}l.display!==v&&"none"!==l.display&&(E.State.calls[o][2].display=!1),l.visibility!==v&&"hidden"!==l.visibility&&(E.State.calls[o][2].visibility=!1),l.progress&&l.progress.call(a[1],a[1],h,Math.max(0,u+l.duration-e),u,f),1===h&&p(o)}}E.State.isTicking&&P(c)}function p(t,e){if(!E.State.calls[t])return!1;for(var n=E.State.calls[t][0],r=E.State.calls[t][1],o=E.State.calls[t][2],a=E.State.calls[t][4],s=!1,l=0,u=n.length;u>l;l++){var c=n[l].element;if(e||o.loop||("none"===o.display&&_.setPropertyValue(c,"display",o.display),"hidden"===o.visibility&&_.setPropertyValue(c,"visibility",o.visibility)),!0!==o.loop&&(m.queue(c)[1]===v||!/\.velocityQueueEntryFlag/i.test(m.queue(c)[1]))&&i(c)){i(c).isAnimating=!1,i(c).rootPropertyValueCache={};var d=!1;m.each(_.Lists.transforms3D,function(t,e){var n=/^scale/.test(e)?1:0,r=i(c).transformCache[e];i(c).transformCache[e]!==v&&new RegExp("^\\("+n+"[^.]").test(r)&&(d=!0,delete i(c).transformCache[e])}),o.mobileHA&&(d=!0,delete i(c).transformCache.translate3d),d&&_.flushTransformCache(c),_.Values.removeClass(c,"velocity-animating")}if(!e&&o.complete&&!o.loop&&l===u-1)try{o.complete.call(r,r)}catch(t){setTimeout(function(){throw t},1)}a&&!0!==o.loop&&a(r),i(c)&&!0===o.loop&&!e&&(m.each(i(c).tweensContainer,function(t,e){/^rotate/.test(t)&&360===parseFloat(e.endValue)&&(e.endValue=0,e.startValue=360),/^backgroundPosition/.test(t)&&100===parseFloat(e.endValue)&&"%"===e.unitType&&(e.endValue=0,e.startValue=100)}),E(c,"reverse",{loop:!0,delay:o.delay})),!1!==o.queue&&m.dequeue(c,o.queue)}E.State.calls[t]=!1;for(var f=0,h=E.State.calls.length;h>f;f++)if(!1!==E.State.calls[f]){s=!0;break}!1===s&&(E.State.isTicking=!1,delete E.State.calls,E.State.calls=[])}var m,y=function(){if(h.documentMode)return h.documentMode;for(var t=7;t>4;t--){var e=h.createElement("div");if(e.innerHTML="\x3c!--[if IE "+t+"]><span></span><![endif]--\x3e",e.getElementsByTagName("span").length)return e=null,t}return v}(),b=function(){var t=0;return a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||function(e){var n,i=(new Date).getTime();return n=Math.max(0,16-(i-t)),t=i+n,setTimeout(function(){e(i+n)},n)}}(),w={isString:function(t){return"string"==typeof t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},isNode:function(t){return t&&t.nodeType},isNodeList:function(t){return"object"==typeof t&&/^\[object (HTMLCollection|NodeList|Object)\]$/.test(Object.prototype.toString.call(t))&&t.length!==v&&(0===t.length||"object"==typeof t[0]&&t[0].nodeType>0)},isWrapped:function(t){return t&&(t.jquery||a.Zepto&&a.Zepto.zepto.isZ(t))},isSVG:function(t){return a.SVGElement&&t instanceof a.SVGElement},isEmptyObject:function(t){for(var e in t)return!1;return!0}},x=!1;if(r.fn&&r.fn.jquery?(m=r,x=!0):m=a.Velocity.Utilities,8>=y&&!x)throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if(7>=y)return void(C.fn.velocity=C.fn.animate);var T=400,k="swing",E={State:{isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),isAndroid:/Android/i.test(navigator.userAgent),isGingerbread:/Android 2\.3\.[3-7]/i.test(navigator.userAgent),isChrome:a.chrome,isFirefox:/Firefox/i.test(navigator.userAgent),prefixElement:h.createElement("div"),prefixMatches:{},scrollAnchor:null,scrollPropertyLeft:null,scrollPropertyTop:null,isTicking:!1,calls:[]},CSS:{},Utilities:m,Redirects:{},Easings:{},Promise:a.Promise,defaults:{queue:"",duration:T,easing:k,begin:v,complete:v,progress:v,display:v,visibility:v,loop:!1,delay:!1,mobileHA:!0,_cacheValues:!0},init:function(t){m.data(t,"velocity",{isSVG:w.isSVG(t),isAnimating:!1,computedStyle:null,tweensContainer:null,rootPropertyValueCache:{},transformCache:{}})},hook:null,mock:!1,version:{major:1,minor:2,patch:2},debug:!1};a.pageYOffset!==v?(E.State.scrollAnchor=a,E.State.scrollPropertyLeft="pageXOffset",E.State.scrollPropertyTop="pageYOffset"):(E.State.scrollAnchor=h.documentElement||h.body.parentNode||h.body,E.State.scrollPropertyLeft="scrollLeft",E.State.scrollPropertyTop="scrollTop");var S=function(){function e(t){return-t.tension*t.x-t.friction*t.v}function t(t,n,i){var r={x:t.x+i.dx*n,v:t.v+i.dv*n,tension:t.tension,friction:t.friction};return{dx:r.v,dv:e(r)}}function r(n,i){var r={dx:n.v,dv:e(n)},o=t(n,.5*i,r),a=t(n,.5*i,o),s=t(n,i,a),l=1/6*(r.dx+2*(o.dx+a.dx)+s.dx),u=1/6*(r.dv+2*(o.dv+a.dv)+s.dv);return n.x=n.x+l*i,n.v=n.v+u*i,n}return function a(t,e,n){var i,o,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0;for(t=parseFloat(t)||500,e=parseFloat(e)||20,n=n||null,l.tension=t,l.friction=e,i=null!==n,i?(c=a(t,e),o=c/n*.016):o=.016;s=r(s||l,o),u.push(1+s.x),c+=16,Math.abs(s.x)>1e-4&&Math.abs(s.v)>1e-4;);return i?function(t){return u[t*(u.length-1)|0]}:c}}();E.Easings={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)}},m.each([["ease",[.25,.1,.25,1]],["ease-in",[.42,0,1,1]],["ease-out",[0,0,.58,1]],["ease-in-out",[.42,0,.58,1]],["easeInSine",[.47,0,.745,.715]],["easeOutSine",[.39,.575,.565,1]],["easeInOutSine",[.445,.05,.55,.95]],["easeInQuad",[.55,.085,.68,.53]],["easeOutQuad",[.25,.46,.45,.94]],["easeInOutQuad",[.455,.03,.515,.955]],["easeInCubic",[.55,.055,.675,.19]],["easeOutCubic",[.215,.61,.355,1]],["easeInOutCubic",[.645,.045,.355,1]],["easeInQuart",[.895,.03,.685,.22]],["easeOutQuart",[.165,.84,.44,1]],["easeInOutQuart",[.77,0,.175,1]],["easeInQuint",[.755,.05,.855,.06]],["easeOutQuint",[.23,1,.32,1]],["easeInOutQuint",[.86,0,.07,1]],["easeInExpo",[.95,.05,.795,.035]],["easeOutExpo",[.19,1,.22,1]],["easeInOutExpo",[1,0,0,1]],["easeInCirc",[.6,.04,.98,.335]],["easeOutCirc",[.075,.82,.165,1]],["easeInOutCirc",[.785,.135,.15,.86]]],function(t,e){E.Easings[e[0]]=l.apply(null,e[1])});var _=E.CSS={RegEx:{isHex:/^#([A-f\d]{3}){1,2}$/i,valueUnwrap:/^[A-z]+\((.*)\)$/i,wrappedValueAlreadyExtracted:/[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,valueSplit:/([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi},Lists:{colors:["fill","stroke","stopColor","color","backgroundColor","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor","outlineColor"],transformsBase:["translateX","translateY","scale","scaleX","scaleY","skewX","skewY","rotateZ"],transforms3D:["transformPerspective","translateZ","scaleZ","rotateX","rotateY"]},Hooks:{templates:{textShadow:["Color X Y Blur","black 0px 0px 0px"],boxShadow:["Color X Y Blur Spread","black 0px 0px 0px 0px"],clip:["Top Right Bottom Left","0px 0px 0px 0px"],backgroundPosition:["X Y","0% 0%"],transformOrigin:["X Y Z","50% 50% 0px"],perspectiveOrigin:["X Y","50% 50%"]},registered:{},register:function(){for(var t=0;t<_.Lists.colors.length;t++){var e="color"===_.Lists.colors[t]?"0 0 0 1":"255 255 255 1";_.Hooks.templates[_.Lists.colors[t]]=["Red Green Blue Alpha",e]}var n,i,r;if(y)for(n in _.Hooks.templates){i=_.Hooks.templates[n],r=i[0].split(" ");var o=i[1].match(_.RegEx.valueSplit);"Color"===r[0]&&(r.push(r.shift()),o.push(o.shift()),_.Hooks.templates[n]=[r.join(" "),o.join(" ")])}for(n in _.Hooks.templates){i=_.Hooks.templates[n],r=i[0].split(" ");for(var t in r){var a=n+r[t],s=t;_.Hooks.registered[a]=[n,s]}}},getRoot:function(t){var e=_.Hooks.registered[t];return e?e[0]:t},cleanRootPropertyValue:function(t,e){return _.RegEx.valueUnwrap.test(e)&&(e=e.match(_.RegEx.valueUnwrap)[1]),_.Values.isCSSNullValue(e)&&(e=_.Hooks.templates[t][1]),e},extractValue:function(t,e){var n=_.Hooks.registered[t];if(n){var i=n[0],r=n[1];return e=_.Hooks.cleanRootPropertyValue(i,e),e.toString().match(_.RegEx.valueSplit)[r]}return e},injectValue:function(t,e,n){var i=_.Hooks.registered[t];if(i){var r,o=i[0],a=i[1];return n=_.Hooks.cleanRootPropertyValue(o,n),r=n.toString().match(_.RegEx.valueSplit),r[a]=e,r.join(" ")}return n}},Normalizations:{registered:{clip:function(t,e,n){switch(t){case"name":return"clip";case"extract":var i;return _.RegEx.wrappedValueAlreadyExtracted.test(n)?i=n:(i=n.toString().match(_.RegEx.valueUnwrap),i=i?i[1].replace(/,(\s+)?/g," "):n),i;case"inject":return"rect("+n+")"}},blur:function(t,e,n){switch(t){case"name":return E.State.isFirefox?"filter":"-webkit-filter";case"extract":var i=parseFloat(n);if(!i&&0!==i){var r=n.toString().match(/blur\(([0-9]+[A-z]+)\)/i);i=r?r[1]:0}return i;case"inject":return parseFloat(n)?"blur("+n+")":"none"}},opacity:function(t,e,n){if(8>=y)switch(t){case"name":return"filter";case"extract":var i=n.toString().match(/alpha\(opacity=(.*)\)/i);return n=i?i[1]/100:1;case"inject":return e.style.zoom=1,parseFloat(n)>=1?"":"alpha(opacity="+parseInt(100*parseFloat(n),10)+")"}else switch(t){case"name":return"opacity";case"extract":case"inject":return n}}},register:function(){9>=y||E.State.isGingerbread||(_.Lists.transformsBase=_.Lists.transformsBase.concat(_.Lists.transforms3D));for(var t=0;t<_.Lists.transformsBase.length;t++)!function(){var e=_.Lists.transformsBase[t];_.Normalizations.registered[e]=function(t,n,r){switch(t){case"name":return"transform";case"extract":return i(n)===v||i(n).transformCache[e]===v?/^scale/i.test(e)?1:0:i(n).transformCache[e].replace(/[()]/g,"");case"inject":var o=!1;switch(e.substr(0,e.length-1)){case"translate":o=!/(%|px|em|rem|vw|vh|\d)$/i.test(r);break;case"scal":case"scale":E.State.isAndroid&&i(n).transformCache[e]===v&&1>r&&(r=1),o=!/(\d)$/i.test(r);break;case"skew":o=!/(deg|\d)$/i.test(r);break;case"rotate":o=!/(deg|\d)$/i.test(r)}return o||(i(n).transformCache[e]="("+r+")"),i(n).transformCache[e]}}}();for(var t=0;t<_.Lists.colors.length;t++)!function(){var e=_.Lists.colors[t];_.Normalizations.registered[e]=function(t,n,i){switch(t){case"name":return e;case"extract":var r;if(_.RegEx.wrappedValueAlreadyExtracted.test(i))r=i;else{var o,a={black:"rgb(0, 0, 0)",blue:"rgb(0, 0, 255)",gray:"rgb(128, 128, 128)",green:"rgb(0, 128, 0)",red:"rgb(255, 0, 0)",white:"rgb(255, 255, 255)"};/^[A-z]+$/i.test(i)?o=a[i]!==v?a[i]:a.black:_.RegEx.isHex.test(i)?o="rgb("+_.Values.hexToRgb(i).join(" ")+")":/^rgba?\(/i.test(i)||(o=a.black),r=(o||i).toString().match(_.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g," ")}return 8>=y||3!==r.split(" ").length||(r+=" 1"),r;case"inject":return 8>=y?4===i.split(" ").length&&(i=i.split(/\s+/).slice(0,3).join(" ")):3===i.split(" ").length&&(i+=" 1"),(8>=y?"rgb":"rgba")+"("+i.replace(/\s+/g,",").replace(/\.(\d)+(?=,)/g,"")+")"}}}()}},Names:{camelCase:function(t){return t.replace(/-(\w)/g,function(t,e){return e.toUpperCase()})},SVGAttribute:function(t){var e="width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return(y||E.State.isAndroid&&!E.State.isChrome)&&(e+="|transform"),new RegExp("^("+e+")$","i").test(t)},prefixCheck:function(t){if(E.State.prefixMatches[t])return[E.State.prefixMatches[t],!0];for(var e=["","Webkit","Moz","ms","O"],n=0,i=e.length;i>n;n++){var r;if(r=0===n?t:e[n]+t.replace(/^\w/,function(t){return t.toUpperCase()}),w.isString(E.State.prefixElement.style[r]))return E.State.prefixMatches[t]=r,[r,!0]}return[t,!1]}},Values:{hexToRgb:function(t){var e,n=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return t=t.replace(n,function(t,e,n,i){return e+e+n+n+i+i}),e=i.exec(t),e?[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]:[0,0,0]},isCSSNullValue:function(t){return 0==t||/^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(t)},getUnitType:function(t){return/^(rotate|skew)/i.test(t)?"deg":/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(t)?"":"px"},getDisplayType:function(t){var e=t&&t.tagName.toString().toLowerCase();return/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(e)?"inline":/^(li)$/i.test(e)?"list-item":/^(tr)$/i.test(e)?"table-row":/^(table)$/i.test(e)?"table":/^(tbody)$/i.test(e)?"table-row-group":"block"},addClass:function(t,e){t.classList?t.classList.add(e):t.className+=(t.className.length?" ":"")+e},removeClass:function(t,e){t.classList?t.classList.remove(e):t.className=t.className.toString().replace(new RegExp("(^|\\s)"+e.split(" ").join("|")+"(\\s|$)","gi")," ")}},getPropertyValue:function(t,e,r,o){function s(t,e){function n(){l&&_.setPropertyValue(t,"display","none")}var r=0;if(8>=y)r=m.css(t,e);else{var l=!1;if(/^(width|height)$/.test(e)&&0===_.getPropertyValue(t,"display")&&(l=!0,_.setPropertyValue(t,"display",_.Values.getDisplayType(t))),!o){if("height"===e&&"border-box"!==_.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var u=t.offsetHeight-(parseFloat(_.getPropertyValue(t,"borderTopWidth"))||0)-(parseFloat(_.getPropertyValue(t,"borderBottomWidth"))||0)-(parseFloat(_.getPropertyValue(t,"paddingTop"))||0)-(parseFloat(_.getPropertyValue(t,"paddingBottom"))||0);return n(),u}if("width"===e&&"border-box"!==_.getPropertyValue(t,"boxSizing").toString().toLowerCase()){var c=t.offsetWidth-(parseFloat(_.getPropertyValue(t,"borderLeftWidth"))||0)-(parseFloat(_.getPropertyValue(t,"borderRightWidth"))||0)-(parseFloat(_.getPropertyValue(t,"paddingLeft"))||0)-(parseFloat(_.getPropertyValue(t,"paddingRight"))||0);return n(),c}}var d;d=i(t)===v?a.getComputedStyle(t,null):i(t).computedStyle?i(t).computedStyle:i(t).computedStyle=a.getComputedStyle(t,null),"borderColor"===e&&(e="borderTopColor"),r=9===y&&"filter"===e?d.getPropertyValue(e):d[e],(""===r||null===r)&&(r=t.style[e]),n()}if("auto"===r&&/^(top|right|bottom|left)$/i.test(e)){var f=s(t,"position");("fixed"===f||"absolute"===f&&/top|left/i.test(e))&&(r=m(t).position()[e]+"px")}return r}var l;if(_.Hooks.registered[e]){var u=e,c=_.Hooks.getRoot(u);r===v&&(r=_.getPropertyValue(t,_.Names.prefixCheck(c)[0])),_.Normalizations.registered[c]&&(r=_.Normalizations.registered[c]("extract",t,r)),l=_.Hooks.extractValue(u,r)}else if(_.Normalizations.registered[e]){var d,f;d=_.Normalizations.registered[e]("name",t),"transform"!==d&&(f=s(t,_.Names.prefixCheck(d)[0]),_.Values.isCSSNullValue(f)&&_.Hooks.templates[e]&&(f=_.Hooks.templates[e][1])),l=_.Normalizations.registered[e]("extract",t,f)}if(!/^[\d-]/.test(l))if(i(t)&&i(t).isSVG&&_.Names.SVGAttribute(e))if(/^(height|width)$/i.test(e))try{l=t.getBBox()[e]}catch(t){l=0}else l=t.getAttribute(e);else l=s(t,_.Names.prefixCheck(e)[0]);return _.Values.isCSSNullValue(l)&&(l=0),E.debug>=2&&console.log("Get "+e+": "+l),l},setPropertyValue:function(t,e,n,r,o){var s=e;if("scroll"===e)o.container?o.container["scroll"+o.direction]=n:"Left"===o.direction?a.scrollTo(n,o.alternateValue):a.scrollTo(o.alternateValue,n);else if(_.Normalizations.registered[e]&&"transform"===_.Normalizations.registered[e]("name",t))_.Normalizations.registered[e]("inject",t,n),s="transform",n=i(t).transformCache[e];else{if(_.Hooks.registered[e]){var l=e,u=_.Hooks.getRoot(e);r=r||_.getPropertyValue(t,u),n=_.Hooks.injectValue(l,n,r),e=u}if(_.Normalizations.registered[e]&&(n=_.Normalizations.registered[e]("inject",t,n),e=_.Normalizations.registered[e]("name",t)),s=_.Names.prefixCheck(e)[0],8>=y)try{t.style[s]=n}catch(t){E.debug&&console.log("Browser does not support ["+n+"] for ["+s+"]")}else i(t)&&i(t).isSVG&&_.Names.SVGAttribute(e)?t.setAttribute(e,n):t.style[s]=n;E.debug>=2&&console.log("Set "+e+" ("+s+"): "+n)}return[s,n]},flushTransformCache:function(e){function t(t){return parseFloat(_.getPropertyValue(e,t))}var n="";if((y||E.State.isAndroid&&!E.State.isChrome)&&i(e).isSVG){var r={translate:[t("translateX"),t("translateY")],skewX:[t("skewX")],skewY:[t("skewY")],scale:1!==t("scale")?[t("scale"),t("scale")]:[t("scaleX"),t("scaleY")],rotate:[t("rotateZ"),0,0]};m.each(i(e).transformCache,function(t){/^translate/i.test(t)?t="translate":/^scale/i.test(t)?t="scale":/^rotate/i.test(t)&&(t="rotate"),r[t]&&(n+=t+"("+r[t].join(" ")+") ",delete r[t])})}else{var o,a;m.each(i(e).transformCache,function(t){return o=i(e).transformCache[t],"transformPerspective"===t?(a=o,!0):(9===y&&"rotateZ"===t&&(t="rotate"),void(n+=t+o+" "))}),a&&(n="perspective"+a+" "+n)}_.setPropertyValue(e,"transform",n)}};_.Hooks.register(),_.Normalizations.register(),E.hook=function(t,e,n){var r=v;return t=o(t),m.each(t,function(t,o){if(i(o)===v&&E.init(o),n===v)r===v&&(r=E.CSS.getPropertyValue(o,e));else{var a=E.CSS.setPropertyValue(o,e,n);"transform"===a[0]&&E.CSS.flushTransformCache(o),r=a}}),r};var A=function(){function e(){return t?S.promise||null:r}function n(){function e(e){function p(t,e){var i=v,o=v,a=v;return w.isArray(t)?(i=t[0],!w.isArray(t[1])&&/^[\d-]/.test(t[1])||w.isFunction(t[1])||_.RegEx.isHex.test(t[1])?a=t[1]:(w.isString(t[1])&&!_.RegEx.isHex.test(t[1])||w.isArray(t[1]))&&(o=e?t[1]:u(t[1],r.duration),t[2]!==v&&(a=t[2]))):i=t,e||(o=o||r.easing),w.isFunction(i)&&(i=i.call(n,x,b)),w.isFunction(a)&&(a=a.call(n,x,b)),[i||0,o,a]}function d(t,e){var n,i;return i=(e||"0").toString().toLowerCase().replace(/[%A-z]+$/,function(t){return n=t,""}),n||(n=_.Values.getUnitType(t)),[i,n]}if(r.begin&&0===x)try{r.begin.call(l,l)}catch(t){setTimeout(function(){throw t},1)}if("scroll"===P){var s,y,T,C=/^x$/i.test(r.axis)?"Left":"Top",k=parseFloat(r.offset)||0;r.container?w.isWrapped(r.container)||w.isNode(r.container)?(r.container=r.container[0]||r.container,s=r.container["scroll"+C],T=s+m(n).position()[C.toLowerCase()]+k):r.container=null:(s=E.State.scrollAnchor[E.State["scrollProperty"+C]],y=E.State.scrollAnchor[E.State["scrollProperty"+("Left"===C?"Top":"Left")]],T=m(n).offset()[C.toLowerCase()]+k),o={scroll:{rootPropertyValue:!1,startValue:s,currentValue:s,endValue:T,unitType:"",easing:r.easing,scrollData:{container:r.container,direction:C,alternateValue:y}},element:n},E.debug&&console.log("tweensContainer (scroll): ",o.scroll,n)}else if("reverse"===P){if(!i(n).tweensContainer)return void m.dequeue(n,r.queue);"none"===i(n).opts.display&&(i(n).opts.display="auto"),"hidden"===i(n).opts.visibility&&(i(n).opts.visibility="visible"),i(n).opts.loop=!1,i(n).opts.begin=null,i(n).opts.complete=null,g.easing||delete r.easing,g.duration||delete r.duration,r=m.extend({},i(n).opts,r);var A=m.extend(!0,{},i(n).tweensContainer);for(var D in A)if("element"!==D){var O=A[D].startValue;A[D].startValue=A[D].currentValue=A[D].endValue,A[D].endValue=O,w.isEmptyObject(g)||(A[D].easing=r.easing),E.debug&&console.log("reverse tweensContainer ("+D+"): "+JSON.stringify(A[D]),n)}o=A}else if("start"===P){var A;i(n).tweensContainer&&!0===i(n).isAnimating&&(A=i(n).tweensContainer),m.each(f,function(t,e){if(RegExp("^"+_.Lists.colors.join("$|^")+"$").test(t)){var n=p(e,!0),i=n[0],r=n[1],o=n[2];if(_.RegEx.isHex.test(i)){for(var a=["Red","Green","Blue"],s=_.Values.hexToRgb(i),l=o?_.Values.hexToRgb(o):v,u=0;u<a.length;u++){var c=[s[u]];r&&c.push(r),l!==v&&c.push(l[u]),f[t+a[u]]=c}delete f[t]}}});for(var N in f){var M=p(f[N]),I=M[0],z=M[1],F=M[2];N=_.Names.camelCase(N);var q=_.Hooks.getRoot(N),H=!1;if(i(n).isSVG||"tween"===q||!1!==_.Names.prefixCheck(q)[1]||_.Normalizations.registered[q]!==v){(r.display!==v&&null!==r.display&&"none"!==r.display||r.visibility!==v&&"hidden"!==r.visibility)&&/opacity|filter/.test(N)&&!F&&0!==I&&(F=0),r._cacheValues&&A&&A[N]?(F===v&&(F=A[N].endValue+A[N].unitType),H=i(n).rootPropertyValueCache[q]):_.Hooks.registered[N]?F===v?(H=_.getPropertyValue(n,q),F=_.getPropertyValue(n,N,H)):H=_.Hooks.templates[q][1]:F===v&&(F=_.getPropertyValue(n,N));var j,W,B,V=!1;if(j=d(N,F),F=j[0],B=j[1],j=d(N,I),I=j[0].replace(/^([+-\/*])=/,function(t,e){return V=e,""}),W=j[1],F=parseFloat(F)||0,I=parseFloat(I)||0,"%"===W&&(/^(fontSize|lineHeight)$/.test(N)?(I/=100,W="em"):/^scale/.test(N)?(I/=100,W=""):/(Red|Green|Blue)$/i.test(N)&&(I=I/100*255,W="")),/[\/*]/.test(V))W=B;else if(B!==W&&0!==F)if(0===I)W=B;else{t=t||function(){var t={myParent:n.parentNode||h.body,position:_.getPropertyValue(n,"position"),fontSize:_.getPropertyValue(n,"fontSize")},e=t.position===R.lastPosition&&t.myParent===R.lastParent,r=t.fontSize===R.lastFontSize;R.lastParent=t.myParent,R.lastPosition=t.position,R.lastFontSize=t.fontSize;var o=100,s={};if(r&&e)s.emToPx=R.lastEmToPx,s.percentToPxWidth=R.lastPercentToPxWidth,s.percentToPxHeight=R.lastPercentToPxHeight;else{var l=i(n).isSVG?h.createElementNS("http://www.w3.org/2000/svg","rect"):h.createElement("div");E.init(l),t.myParent.appendChild(l),m.each(["overflow","overflowX","overflowY"],function(t,e){E.CSS.setPropertyValue(l,e,"hidden")}),E.CSS.setPropertyValue(l,"position",t.position),E.CSS.setPropertyValue(l,"fontSize",t.fontSize),E.CSS.setPropertyValue(l,"boxSizing","content-box"),m.each(["minWidth","maxWidth","width","minHeight","maxHeight","height"],function(t,e){E.CSS.setPropertyValue(l,e,o+"%")}),E.CSS.setPropertyValue(l,"paddingLeft",o+"em"),s.percentToPxWidth=R.lastPercentToPxWidth=(parseFloat(_.getPropertyValue(l,"width",null,!0))||1)/o,s.percentToPxHeight=R.lastPercentToPxHeight=(parseFloat(_.getPropertyValue(l,"height",null,!0))||1)/o,s.emToPx=R.lastEmToPx=(parseFloat(_.getPropertyValue(l,"paddingLeft"))||1)/o,t.myParent.removeChild(l)}return null===R.remToPx&&(R.remToPx=parseFloat(_.getPropertyValue(h.body,"fontSize"))||16),null===R.vwToPx&&(R.vwToPx=parseFloat(a.innerWidth)/100,R.vhToPx=parseFloat(a.innerHeight)/100),s.remToPx=R.remToPx,s.vwToPx=R.vwToPx,s.vhToPx=R.vhToPx,E.debug>=1&&console.log("Unit ratios: "+JSON.stringify(s),n),s}();var X=/margin|padding|left|right|width|text|word|letter/i.test(N)||/X$/.test(N)||"x"===N?"x":"y";switch(B){case"%":F*="x"===X?t.percentToPxWidth:t.percentToPxHeight;break;case"px":break;default:F*=t[B+"ToPx"]}switch(W){case"%":F*=1/("x"===X?t.percentToPxWidth:t.percentToPxHeight);break;case"px":break;default:F*=1/t[W+"ToPx"]}}switch(V){case"+":I=F+I;break;case"-":I=F-I;break;case"*":I*=F;break;case"/":I=F/I}o[N]={rootPropertyValue:H,startValue:F,currentValue:F,endValue:I,unitType:W,easing:z},E.debug&&console.log("tweensContainer ("+N+"): "+JSON.stringify(o[N]),n)}else E.debug&&console.log("Skipping ["+q+"] due to a lack of browser support.")}o.element=n}o.element&&(_.Values.addClass(n,"velocity-animating"),L.push(o),""===r.queue&&(i(n).tweensContainer=o,i(n).opts=r),i(n).isAnimating=!0,x===b-1?(E.State.calls.push([L,l,r,null,S.resolver]),!1===E.State.isTicking&&(E.State.isTicking=!0,c())):x++)}var t,n=this,r=m.extend({},E.defaults,g),o={};switch(i(n)===v&&E.init(n),parseFloat(r.delay)&&!1!==r.queue&&m.queue(n,r.queue,function(t){E.velocityQueueEntryFlag=!0,i(n).delayTimer={setTimeout:setTimeout(t,parseFloat(r.delay)),next:t}}),r.duration.toString().toLowerCase()){case"fast":r.duration=200;break;case"normal":r.duration=T;break;case"slow":r.duration=600;break;default:r.duration=parseFloat(r.duration)||1}!1!==E.mock&&(!0===E.mock?r.duration=r.delay=1:(r.duration*=parseFloat(E.mock)||1,r.delay*=parseFloat(E.mock)||1)),r.easing=u(r.easing,r.duration),r.begin&&!w.isFunction(r.begin)&&(r.begin=null),r.progress&&!w.isFunction(r.progress)&&(r.progress=null),r.complete&&!w.isFunction(r.complete)&&(r.complete=null),r.display!==v&&null!==r.display&&(r.display=r.display.toString().toLowerCase(),"auto"===r.display&&(r.display=E.CSS.Values.getDisplayType(n))),r.visibility!==v&&null!==r.visibility&&(r.visibility=r.visibility.toString().toLowerCase()),r.mobileHA=r.mobileHA&&E.State.isMobile&&!E.State.isGingerbread,!1===r.queue?r.delay?setTimeout(e,r.delay):e():m.queue(n,r.queue,function(t,n){return!0===n?(S.promise&&S.resolver(l),!0):(E.velocityQueueEntryFlag=!0,void e(t))}),""!==r.queue&&"fx"!==r.queue||"inprogress"===m.queue(n)[0]||m.dequeue(n)}var t,r,s,l,f,g,y=arguments[0]&&(arguments[0].p||m.isPlainObject(arguments[0].properties)&&!arguments[0].properties.names||w.isString(arguments[0].properties));if(w.isWrapped(this)?(t=!1,s=0,l=this,r=this):(t=!0,s=1,l=y?arguments[0].elements||arguments[0].e:arguments[0]),l=o(l)){y?(f=arguments[0].properties||arguments[0].p,g=arguments[0].options||arguments[0].o):(f=arguments[s],g=arguments[s+1]);var b=l.length,x=0;if(!/^(stop|finish)$/i.test(f)&&!m.isPlainObject(g)){var C=s+1;g={};for(var k=C;k<arguments.length;k++)w.isArray(arguments[k])||!/^(fast|normal|slow)$/i.test(arguments[k])&&!/^\d/.test(arguments[k])?w.isString(arguments[k])||w.isArray(arguments[k])?g.easing=arguments[k]:w.isFunction(arguments[k])&&(g.complete=arguments[k]):g.duration=arguments[k]}var S={promise:null,resolver:null,rejecter:null};t&&E.Promise&&(S.promise=new E.Promise(function(t,e){S.resolver=t,S.rejecter=e}));var P;switch(f){case"scroll":P="scroll";break;case"reverse":P="reverse";break;case"finish":case"stop":m.each(l,function(t,e){i(e)&&i(e).delayTimer&&(clearTimeout(i(e).delayTimer.setTimeout),i(e).delayTimer.next&&i(e).delayTimer.next(),delete i(e).delayTimer)});var D=[];return m.each(E.State.calls,function(t,e){e&&m.each(e[1],function(n,r){var o=g===v?"":g;return!0!==o&&e[2].queue!==o&&(g!==v||!1!==e[2].queue)||void m.each(l,function(n,a){a===r&&((!0===g||w.isString(g))&&(m.each(m.queue(a,w.isString(g)?g:""),function(t,e){w.isFunction(e)&&e(null,!0)}),m.queue(a,w.isString(g)?g:"",[])),"stop"===f?(i(a)&&i(a).tweensContainer&&!1!==o&&m.each(i(a).tweensContainer,function(t,e){e.endValue=e.currentValue}),D.push(t)):"finish"===f&&(e[2].duration=1))})})}),"stop"===f&&(m.each(D,function(t,e){p(e,!0)}),S.promise&&S.resolver(l)),e();default:if(!m.isPlainObject(f)||w.isEmptyObject(f)){if(w.isString(f)&&E.Redirects[f]){var O=m.extend({},g),N=O.duration,M=O.delay||0;return!0===O.backwards&&(l=m.extend(!0,[],l).reverse()),m.each(l,function(t,e){parseFloat(O.stagger)?O.delay=M+parseFloat(O.stagger)*t:w.isFunction(O.stagger)&&(O.delay=M+O.stagger.call(e,t,b)),O.drag&&(O.duration=parseFloat(N)||(/^(callout|transition)/.test(f)?1e3:T),O.duration=Math.max(O.duration*(O.backwards?1-t/b:(t+1)/b),.75*O.duration,200)),E.Redirects[f].call(e,e,O||{},t,b,l,S.promise?S:v)}),e()}var I="Velocity: First argument ("+f+") was not a property map, a known action, or a registered redirect. Aborting.";return S.promise?S.rejecter(new Error(I)):console.log(I),e()}P="start"}var R={lastParent:null,lastPosition:null,lastFontSize:null,lastPercentToPxWidth:null,lastPercentToPxHeight:null,lastEmToPx:null,remToPx:null,vwToPx:null,vhToPx:null},L=[];m.each(l,function(t,e){w.isNode(e)&&n.call(e)});var z,O=m.extend({},E.defaults,g);if(O.loop=parseInt(O.loop),z=2*O.loop-1,O.loop)for(var F=0;z>F;F++){var q={delay:O.delay,progress:O.progress};F===z-1&&(q.display=O.display,q.visibility=O.visibility,q.complete=O.complete),A(l,"reverse",q)}return e()}};E=m.extend(A,E),E.animate=A;var P=a.requestAnimationFrame||b;return E.State.isMobile||h.hidden===v||h.addEventListener("visibilitychange",function(){h.hidden?(P=function(t){return setTimeout(function(){t(!0)},16)},c()):P=a.requestAnimationFrame||b}),r.Velocity=E,r!==a&&(r.fn.velocity=A,r.fn.velocity.defaults=E.defaults),m.each(["Down","Up"],function(t,e){E.Redirects["slide"+e]=function(t,n,i,r,o,a){var s=m.extend({},n),l=s.begin,u=s.complete,c={height:"",marginTop:"",marginBottom:"",paddingTop:"",paddingBottom:""},d={};s.display===v&&(s.display="Down"===e?"inline"===E.CSS.Values.getDisplayType(t)?"inline-block":"block":"none"),s.begin=function(){l&&l.call(o,o);for(var n in c){d[n]=t.style[n];var i=E.CSS.getPropertyValue(t,n);c[n]="Down"===e?[i,0]:[0,i]}d.overflow=t.style.overflow,t.style.overflow="hidden"},s.complete=function(){for(var e in d)t.style[e]=d[e];u&&u.call(o,o),a&&a.resolver(o)},E(t,c,s)}}),m.each(["In","Out"],function(t,e){E.Redirects["fade"+e]=function(t,n,i,r,o,a){var s=m.extend({},n),l={opacity:"In"===e?1:0},u=s.complete;s.complete=i!==r-1?s.begin=null:function(){u&&u.call(o,o),a&&a.resolver(o)},s.display===v&&(s.display="In"===e?"auto":"none"),E(this,l,s)}}),E}(f||window.Zepto||window,window,document)})),function(c,f,h,b){"use strict";function k(t,e,n){return setTimeout(q(t,n),e)}function l(t,e,n){return!!Array.isArray(t)&&(m(t,n[e],n),!0)}function m(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==b)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function n(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===b)&&(t[i[r]]=e[i[r]]),r++;return t}function o(t,e){return n(t,e,!0)}function p(t,e,i){var r,o=e.prototype;r=t.prototype=Object.create(o),r.constructor=t,r._super=o,i&&n(r,i)}function q(t,e){return function(){return t.apply(e,arguments)}}function r(t,e){return typeof t==S?t.apply(e?e[0]||b:b,e):t}function s(t,e){return t===b?e:t}function t(t,e,n){m(x(e),function(e){t.addEventListener(e,n,!1)})}function u(t,e,n){m(x(e),function(e){t.removeEventListener(e,n,!1)})}function v(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function w(t,e){return t.indexOf(e)>-1}function x(t){return t.trim().split(/\s+/g)}function y(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function z(t){return Array.prototype.slice.call(t,0)}function A(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];y(r,a)<0&&i.push(t[o]),r[o]=a,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function B(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<T.length;){if(n=T[o],(i=n?n+r:e)in t)return i;o++}return b}function D(){return N++}function E(t){var e=t.ownerDocument;return e.defaultView||e.parentWindow}function ab(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){r(t.options.enable,[t])&&n.handler(e)},this.init()}function bb(t){var e=t.options.inputClass;return new(e||(R?wb:L?Eb:I?Gb:rb))(t,cb)}function cb(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&W&&0==i-r,a=e&(X|$)&&0==i-r;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,db(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function db(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=gb(e)),r>1&&!n.firstMultiple?n.firstMultiple=gb(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,l=e.center=hb(i);e.timeStamp=O(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=lb(s,l),e.distance=kb(s,l),eb(n,e),e.offsetDirection=jb(e.deltaX,e.deltaY),e.scale=a?nb(a.pointers,i):1,e.rotation=a?mb(a.pointers,i):0,fb(n,e);var u=t.element;v(e.srcEvent.target,u)&&(u=e.srcEvent.target),e.target=u}function eb(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};(e.eventType===W||o.eventType===X)&&(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function fb(t,e){var n,i,r,o,a=t.lastInterval||e,s=e.timeStamp-a.timeStamp;if(e.eventType!=$&&(s>j||a.velocity===b)){var l=a.deltaX-e.deltaX,u=a.deltaY-e.deltaY,c=ib(s,l,u);i=c.x,r=c.y,n=P(c.x)>P(c.y)?c.x:c.y,o=jb(l,u),t.lastInterval=e}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}function gb(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:_(t.pointers[n].clientX),clientY:_(t.pointers[n].clientY)},n++;return{timeStamp:O(),pointers:e,center:hb(e),deltaX:t.deltaX,deltaY:t.deltaY}}function hb(t){var e=t.length;if(1===e)return{x:_(t[0].clientX),y:_(t[0].clientY)};for(var n=0,i=0,r=0;e>r;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:_(n/e),y:_(i/e)}}function ib(t,e,n){return{x:e/t||0,y:n/t||0}}function jb(t,e){return t===e?Y:P(t)>=P(e)?t>0?U:Q:e>0?G:K}function kb(t,e,n){n||(n=et);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function lb(t,e,n){n||(n=et);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function mb(t,e){return lb(e[1],e[0],nt)-lb(t[1],t[0],nt)}function nb(t,e){return kb(e[0],e[1],nt)/kb(t[0],t[1],nt)}function rb(){this.evEl=rt,this.evWin=ot,this.allow=!0,this.pressed=!1,ab.apply(this,arguments)}function wb(){this.evEl=lt,this.evWin=ut,ab.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function Ab(){this.evTarget=dt,this.evWin=ft,this.started=!1,ab.apply(this,arguments)}function Bb(t,e){var n=z(t.touches),i=z(t.changedTouches);return e&(X|$)&&(n=A(n.concat(i),"identifier",!0)),[n,i]}function Eb(){this.evTarget=pt,this.targetIds={},ab.apply(this,arguments)}function Fb(t,e){var n=z(t.touches),i=this.targetIds;if(e&(W|V)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=z(t.changedTouches),s=[],l=this.target;if(o=n.filter(function(t){return v(t.target,l)}),e===W)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),e&(X|$)&&delete i[a[r].identifier],r++;return s.length?[A(o.concat(s),"identifier",!0),s]:void 0}function Gb(){ab.apply(this,arguments);var t=q(this.handler,this);this.touch=new Eb(this.manager,t),this.mouse=new rb(this.manager,t)}function Pb(t,e){this.manager=t,this.set(e)}function Qb(t){if(w(t,wt))return wt;var e=w(t,xt),n=w(t,Tt);return e&&n?xt+" "+Tt:e||n?e?xt:Tt:w(t,bt)?bt:yt}function Yb(t){this.id=D(),this.manager=null,this.options=o(t||{},this.defaults),this.options.enable=s(this.options.enable,!0),this.state=Ct,this.simultaneous={},this.requireFail=[]}function Zb(t){return t&At?"cancel":t&St?"end":t&Et?"move":t&kt?"start":""}function $b(t){return t==K?"down":t==G?"up":t==U?"left":t==Q?"right":""}function _b(t,e){var n=e.manager;return n?n.get(t):t}function ac(){Yb.apply(this,arguments)}function bc(){ac.apply(this,arguments),this.pX=null,this.pY=null}function cc(){ac.apply(this,arguments)}function dc(){Yb.apply(this,arguments),this._timer=null,this._input=null}function ec(){ac.apply(this,arguments)}function fc(){ac.apply(this,arguments)}function gc(){Yb.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function hc(t,e){return e=e||{},e.recognizers=s(e.recognizers,hc.defaults.preset),new kc(t,e)}function kc(t,e){e=e||{},this.options=o(e,hc.defaults),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.element=t,this.input=bb(this),this.touchAction=new Pb(this,this.options.touchAction),lc(this,!0),m(e.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function lc(t,e){var n=t.element;m(t.options.cssProps,function(t,i){n.style[B(n.style,i)]=e?t:""})}function mc(t,e){var n=f.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var T=["","webkit","moz","MS","ms","o"],C=f.createElement("div"),S="function",_=Math.round,P=Math.abs,O=Date.now,N=1,M=/mobile|tablet|ip(ad|hone|od)|android/i,I="ontouchstart"in c,R=B(c,"PointerEvent")!==b,L=I&&M.test(navigator.userAgent),F="touch",H="mouse",j=25,W=1,V=2,X=4,$=8,Y=1,U=2,Q=4,G=8,K=16,J=U|Q,Z=G|K,tt=J|Z,et=["x","y"],nt=["clientX","clientY"];ab.prototype={handler:function(){},init:function(){this.evEl&&t(this.element,this.evEl,this.domHandler),this.evTarget&&t(this.target,this.evTarget,this.domHandler),this.evWin&&t(E(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&u(this.element,this.evEl,this.domHandler),this.evTarget&&u(this.target,this.evTarget,this.domHandler),this.evWin&&u(E(this.element),this.evWin,this.domHandler)}};var it={mousedown:W,mousemove:V,mouseup:X},rt="mousedown",ot="mousemove mouseup";p(rb,ab,{handler:function(t){var e=it[t.type];e&W&&0===t.button&&(this.pressed=!0),e&V&&1!==t.which&&(e=X),this.pressed&&this.allow&&(e&X&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:H,srcEvent:t}))}});var at={pointerdown:W,pointermove:V,pointerup:X,pointercancel:$,pointerout:$},st={2:F,3:"pen",4:H,5:"kinect"},lt="pointerdown",ut="pointermove pointerup pointercancel";c.MSPointerEvent&&(lt="MSPointerDown",ut="MSPointerMove MSPointerUp MSPointerCancel"),p(wb,ab,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=at[i],o=st[t.pointerType]||t.pointerType,a=o==F,s=y(e,t.pointerId,"pointerId");r&W&&(0===t.button||a)?0>s&&(e.push(t),s=e.length-1):r&(X|$)&&(n=!0),0>s||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var ct={touchstart:W,touchmove:V,touchend:X,touchcancel:$},dt="touchstart",ft="touchstart touchmove touchend touchcancel";p(Ab,ab,{handler:function(t){var e=ct[t.type];if(e===W&&(this.started=!0),this.started){var n=Bb.call(this,t,e);e&(X|$)&&0==n[0].length-n[1].length&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:t})}}});var ht={touchstart:W,touchmove:V,touchend:X,touchcancel:$},pt="touchstart touchmove touchend touchcancel";p(Eb,ab,{handler:function(t){var e=ht[t.type],n=Fb.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:t})}}),p(Gb,ab,{handler:function(t,e,n){var i=n.pointerType==F,r=n.pointerType==H;if(i)this.mouse.allow=!1;else if(r&&!this.mouse.allow)return;e&(X|$)&&(this.mouse.allow=!0),this.callback(t,e,n)},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var gt=B(C.style,"touchAction"),vt=gt!==b,mt="compute",yt="auto",bt="manipulation",wt="none",xt="pan-x",Tt="pan-y";Pb.prototype={set:function(t){t==mt&&(t=this.compute()),vt&&(this.manager.element.style[gt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return m(this.manager.recognizers,function(e){r(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),Qb(t.join(" "))},preventDefaults:function(t){if(!vt){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var i=this.actions,r=w(i,wt),o=w(i,Tt),a=w(i,xt);return r||o&&n&J||a&&n&Z?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Ct=1,kt=2,Et=4,St=8,_t=St,At=16;Yb.prototype={defaults:{},set:function(t){return n(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(l(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=_b(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return l(t,"dropRecognizeWith",this)?this:(t=_b(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(l(t,"requireFailure",this))return this;var e=this.requireFail;return t=_b(t,this),-1===y(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(l(t,"dropRequireFailure",this))return this;t=_b(t,this);var e=y(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function d(i){e.manager.emit(e.options.event+(i?Zb(n):""),t)}var e=this,n=this.state;St>n&&d(!0),d(),n>=St&&d(!0)},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Ct)))return!1;t++}return!0},recognize:function(t){var e=n({},t);return r(this.options.enable,[this,e])?(this.state&(_t|At|32)&&(this.state=Ct),this.state=this.process(e),void(this.state&(kt|Et|St|At)&&this.tryEmit(e))):(this.reset(),void(this.state=32))},process:function(){},getTouchAction:function(){},reset:function(){}},p(ac,Yb,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(kt|Et),r=this.attrTest(t);return i&&(n&$||!r)?e|At:i||r?n&X?e|St:e&kt?e|Et:kt:32}}),p(bc,ac,{defaults:{event:"pan",threshold:10,pointers:1,direction:tt},getTouchAction:function(){var t=this.options.direction,e=[];return t&J&&e.push(Tt),t&Z&&e.push(xt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(e.direction&J?(r=0===o?Y:0>o?U:Q,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===a?Y:0>a?G:K,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return ac.prototype.attrTest.call(this,t)&&(this.state&kt||!(this.state&kt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=$b(t.direction);e&&this.manager.emit(this.options.event+e,t),this._super.emit.call(this,t)}}),p(cc,ac,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[wt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&kt)},emit:function(t){if(this._super.emit.call(this,t),1!==t.scale){var e=t.scale<1?"in":"out";this.manager.emit(this.options.event+e,t)}}}),p(dc,Yb,{defaults:{event:"press",pointers:1,time:500,threshold:5},getTouchAction:function(){return[yt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(X|$)&&!r)this.reset();else if(t.eventType&W)this.reset(),this._timer=k(function(){this.state=_t,this.tryEmit()},e.time,this);else if(t.eventType&X)return _t;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===_t&&(t&&t.eventType&X?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=O(),this.manager.emit(this.options.event,this._input)))}}),p(ec,ac,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[wt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&kt)}}),p(fc,ac,{defaults:{event:"swipe",threshold:10,velocity:.65,direction:J|Z,pointers:1},getTouchAction:function(){return bc.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(J|Z)?e=t.velocity:n&J?e=t.velocityX:n&Z&&(e=t.velocityY),this._super.attrTest.call(this,t)&&n&t.direction&&t.distance>this.options.threshold&&P(e)>this.options.velocity&&t.eventType&X},emit:function(t){var e=$b(t.direction);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),p(gc,Yb,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:2,posThreshold:10},getTouchAction:function(){return[bt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&W&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=X)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||kb(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=k(function(){this.state=_t,this.tryEmit()},e.interval,this),kt):_t}return 32},failTimeout:function(){return this._timer=k(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==_t&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),hc.VERSION="2.0.4",hc.defaults={domEvents:!1,touchAction:mt,enable:!0,inputTarget:null,inputClass:null,preset:[[ec,{enable:!1}],[cc,{enable:!1},["rotate"]],[fc,{direction:J}],[bc,{direction:J},["swipe"]],[gc],[gc,{event:"doubletap",taps:2},["tap"]],[dc]],cssProps:{userSelect:"default",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};kc.prototype={set:function(t){return n(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&_t)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(kt|Et|St)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Yb)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(l(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(l(t,"remove",this))return this;var e=this.recognizers;return t=this.get(t),e.splice(y(e,t),1),this.touchAction.update(),this},on:function(t,e){var n=this.handlers;return m(x(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this},off:function(t,e){var n=this.handlers;return m(x(t),function(t){e?n[t].splice(y(n[t],e),1):delete n[t]}),this},emit:function(t,e){this.options.domEvents&&mc(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&lc(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},n(hc,{INPUT_START:W,INPUT_MOVE:V,INPUT_END:X,INPUT_CANCEL:$,STATE_POSSIBLE:Ct,STATE_BEGAN:kt,STATE_CHANGED:Et,STATE_ENDED:St,STATE_RECOGNIZED:_t,STATE_CANCELLED:At,STATE_FAILED:32,DIRECTION_NONE:Y,DIRECTION_LEFT:U,DIRECTION_RIGHT:Q,DIRECTION_UP:G,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:J,DIRECTION_VERTICAL:Z,DIRECTION_ALL:tt,Manager:kc,Input:ab,TouchAction:Pb,TouchInput:Eb,MouseInput:rb,PointerEventInput:wb,TouchMouseInput:Gb,SingleTouchInput:Ab,Recognizer:Yb,AttrRecognizer:ac,Tap:gc,Pan:bc,Swipe:fc,Pinch:cc,Rotate:ec,Press:dc,on:t,off:u,each:m,merge:o,extend:n,inherit:p,bindFn:q,prefixed:B}),"function"==S&&a(55)?void 0!==(g=function(){return hc}.call(i,a,i,e))&&(e.exports=g):void 0!==e&&e.exports?e.exports=hc:c.Hammer=hc}(window,document),function(t){b=[a(0),a(54)],h=t,void 0!==(g="function"==typeof h?h.apply(i,b):h)&&(e.exports=g)}(function(t,e){function hammerify(n,i){var r=t(n);r.data("hammer")||r.data("hammer",new e(r[0],i))}t.fn.hammer=function(t){return this.each(function(){hammerify(this,t)})},e.Manager.prototype.emit=function(e){return function(n,i){e.call(this,n,i),t(this.element).trigger({type:n,gesture:i})}}(e.Manager.prototype.emit)}),function(t){t.Package?Materialize={}:t.Materialize={}}(window),function(t){for(var e=0,n=["webkit","moz"],i=t.requestAnimationFrame,r=t.cancelAnimationFrame,o=n.length;--o>=0&&!i;)i=t[n[o]+"RequestAnimationFrame"],r=t[n[o]+"CancelRequestAnimationFrame"];i&&r||(i=function(t){var n=+Date.now(),i=Math.max(e+16,n);return setTimeout(function(){t(e=i)},i-n)},r=clearTimeout),t.requestAnimationFrame=i,t.cancelAnimationFrame=r}(window),Materialize.objectSelectorString=function(t){return((t.prop("tagName")||"")+(t.attr("id")||"")+(t.attr("class")||"")).replace(/\s/g,"")},Materialize.guid=function(){function s4(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return s4()+s4()+"-"+s4()+"-"+s4()+"-"+s4()+"-"+s4()+s4()+s4()}}(),Materialize.escapeHash=function(t){return t.replace(/(:|\.|\[|\]|,|=)/g,"\\$1")},Materialize.elementOrParentIsFixed=function(t){var e=d(t),n=e.add(e.parents()),i=!1;return n.each(function(){if("fixed"===d(this).css("position"))return i=!0,!1}),i};var S=Date.now||function(){return(new Date).getTime()};Materialize.throttle=function(t,e,n){var i,r,o,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:S(),a=null,o=t.apply(i,r),i=r=null};return function(){var u=S();s||!1!==n.leading||(s=u);var c=e-(u-s);return i=this,r=arguments,c<=0?(clearTimeout(a),a=null,s=u,o=t.apply(i,r),i=r=null):a||!1===n.trailing||(a=setTimeout(l,c)),o}};var _;_=C?C.Velocity:d?d.Velocity:Velocity,function(t){t.fn.collapsible=function(e,n){var i={accordion:void 0,onOpen:void 0,onClose:void 0},r=e;return e=t.extend(i,e),this.each(function(){function accordionOpen(e){o=i.find("> li > .collapsible-header"),e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}),o.not(e).removeClass("active").parent().removeClass("active"),o.not(e).parent().children(".collapsible-body").stop(!0,!1).each(function(){t(this).is(":visible")&&t(this).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height",""),execCallbacks(t(this).siblings(".collapsible-header"))}})})}function expandableOpen(e){e.hasClass("active")?e.parent().addClass("active"):e.parent().removeClass("active"),e.parent().hasClass("active")?e.siblings(".collapsible-body").stop(!0,!1).slideDown({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}}):e.siblings(".collapsible-body").stop(!0,!1).slideUp({duration:350,easing:"easeOutQuart",queue:!1,complete:function(){t(this).css("height","")}})}function collapsibleOpen(t,n){n||t.toggleClass("active"),e.accordion||"accordion"===a||void 0===a?accordionOpen(t):expandableOpen(t),execCallbacks(t)}function execCallbacks(t){t.hasClass("active")?"function"==typeof e.onOpen&&e.onOpen.call(this,t.parent()):"function"==typeof e.onClose&&e.onClose.call(this,t.parent())}function isChildrenOfPanelHeader(t){return getPanelHeader(t).length>0}function getPanelHeader(t){return t.closest("li > .collapsible-header")}function removeEventHandlers(){i.off("click.collapse","> li > .collapsible-header")}var i=t(this),o=t(this).find("> li > .collapsible-header"),a=i.data("collapsible");if("destroy"===r)return void removeEventHandlers();if(n>=0&&n<o.length){var s=o.eq(n);return void(s.length&&("open"===r||"close"===r&&s.hasClass("active"))&&collapsibleOpen(s))}removeEventHandlers(),i.on("click.collapse","> li > .collapsible-header",function(e){var n=t(e.target);isChildrenOfPanelHeader(n)&&(n=getPanelHeader(n)),collapsibleOpen(n)}),e.accordion||"accordion"===a||void 0===a?collapsibleOpen(o.filter(".active").first(),!0):o.filter(".active").each(function(){collapsibleOpen(t(this),!0)})})},t(document).ready(function(){t(".collapsible").collapsible()})}(C),function(t){t.fn.scrollTo=function(e){return t(this).scrollTop(t(this).scrollTop()-t(this).offset().top+t(e).offset().top),this},t.fn.dropdown=function(e){var n={inDuration:300,outDuration:225,constrainWidth:!0,hover:!1,gutter:0,belowOrigin:!1,alignment:"left",stopPropagation:!1};return"open"===e?(this.each(function(){t(this).trigger("open")}),!1):"close"===e?(this.each(function(){t(this).trigger("close")}),!1):void this.each(function(){function updateOptions(){void 0!==i.data("induration")&&(r.inDuration=i.data("induration")),void 0!==i.data("outduration")&&(r.outDuration=i.data("outduration")),void 0!==i.data("constrainwidth")&&(r.constrainWidth=i.data("constrainwidth")),void 0!==i.data("hover")&&(r.hover=i.data("hover")),void 0!==i.data("gutter")&&(r.gutter=i.data("gutter")),void 0!==i.data("beloworigin")&&(r.belowOrigin=i.data("beloworigin")),void 0!==i.data("alignment")&&(r.alignment=i.data("alignment")),void 0!==i.data("stoppropagation")&&(r.stopPropagation=i.data("stoppropagation"))}function placeDropdown(e){"focus"===e&&(o=!0),updateOptions(),a.addClass("active"),i.addClass("active"),!0===r.constrainWidth?a.css("width",i.outerWidth()):a.css("white-space","nowrap");var n=window.innerHeight,s=i.innerHeight(),l=i.offset().left,u=i.offset().top-t(window).scrollTop(),c=r.alignment,d=0,f=0,h=0;!0===r.belowOrigin&&(h=s);var p=0,g=0,v=i.parent();if(v.is("body")||(v[0].scrollHeight>v[0].clientHeight&&(p=v[0].scrollTop),v[0].scrollWidth>v[0].clientWidth&&(g=v[0].scrollLeft)),l+a.innerWidth()>t(window).width()?c="right":l-a.innerWidth()+i.innerWidth()<0&&(c="left"),u+a.innerHeight()>n)if(u+s-a.innerHeight()<0){var m=n-u-h;a.css("max-height",m)}else h||(h+=s),h-=a.innerHeight();if("left"===c)d=r.gutter,f=i.position().left+d;else if("right"===c){var y=i.position().left+i.outerWidth()-a.outerWidth();d=-r.gutter,f=y+d}a.css({position:"absolute",top:i.position().top+h+p,left:f+g}),a.stop(!0,!0).css("opacity",0).slideDown({queue:!1,duration:r.inDuration,easing:"easeOutCubic",complete:function(){t(this).css("height","")}}).animate({opacity:1},{queue:!1,duration:r.inDuration,easing:"easeOutSine"}),setTimeout(function(){t(document).bind("click."+a.attr("id"),function(e){hideDropdown(),t(document).unbind("click."+a.attr("id"))})},0)}function hideDropdown(){o=!1,a.fadeOut(r.outDuration),a.removeClass("active"),i.removeClass("active"),t(document).unbind("click."+a.attr("id")),setTimeout(function(){a.css("max-height","")},r.outDuration)}var i=t(this),r=t.extend({},n,e),o=!1,a=t("#"+i.attr("data-activates"));if(updateOptions(),i.after(a),r.hover){var s=!1;i.unbind("click."+i.attr("id")),i.on("mouseenter",function(t){!1===s&&(placeDropdown(),s=!0)}),i.on("mouseleave",function(e){var n=e.toElement||e.relatedTarget;t(n).closest(".dropdown-content").is(a)||(a.stop(!0,!0),hideDropdown(),s=!1)}),a.on("mouseleave",function(e){var n=e.toElement||e.relatedTarget;t(n).closest(".dropdown-button").is(i)||(a.stop(!0,!0),hideDropdown(),s=!1)})}else i.unbind("click."+i.attr("id")),i.bind("click."+i.attr("id"),function(e){o||(i[0]!=e.currentTarget||i.hasClass("active")||0!==t(e.target).closest(".dropdown-content").length?i.hasClass("active")&&(hideDropdown(),t(document).unbind("click."+a.attr("id"))):(e.preventDefault(),r.stopPropagation&&e.stopPropagation(),placeDropdown("click")))});i.on("open",function(t,e){placeDropdown(e)}),i.on("close",hideDropdown)})},t(document).ready(function(){t(".dropdown-button").dropdown()})}(C),function(t){var e=0,n=0,i=function(){return"materialize-modal-overlay-"+ ++n},r={init:function(n){var r={opacity:.5,inDuration:350,outDuration:250,ready:void 0,complete:void 0,dismissible:!0,startingTop:"4%",endingTop:"10%"};return n=t.extend(r,n),this.each(function(){var r=t(this),o=t(this).attr("id")||"#"+t(this).data("target"),a=function(){var i=r.data("overlay-id"),o=t("#"+i);r.removeClass("open"),t("body").css({overflow:"",width:""}),r.find(".modal-close").off("click.close"),t(document).off("keyup.modal"+i),o.velocity({opacity:0},{duration:n.outDuration,queue:!1,ease:"easeOutQuart"});var a={duration:n.outDuration,queue:!1,ease:"easeOutCubic",complete:function(){t(this).css({display:"none"}),"function"==typeof n.complete&&n.complete.call(this,r),o.remove(),e--}};r.hasClass("bottom-sheet")?r.velocity({bottom:"-100%",opacity:0},a):r.velocity({top:n.startingTop,opacity:0,scaleX:.7},a)},s=function(o){var s=t("body"),l=s.innerWidth();if(s.css("overflow","hidden"),s.width(l),!r.hasClass("open")){var u=i(),c=t('<div class="modal-overlay"></div>');lStack=++e,c.attr("id",u).css("z-index",1e3+2*lStack),r.data("overlay-id",u).css("z-index",1e3+2*lStack+1),r.addClass("open"),t("body").append(c),n.dismissible&&(c.click(function(){a()}),t(document).on("keyup.modal"+u,function(t){27===t.keyCode&&a()})),r.find(".modal-close").on("click.close",function(t){a()}),c.css({display:"block",opacity:0}),r.css({display:"block",opacity:0}),c.velocity({opacity:n.opacity},{duration:n.inDuration,queue:!1,ease:"easeOutCubic"}),r.data("associated-overlay",c[0]);var d={duration:n.inDuration,queue:!1,ease:"easeOutCubic",complete:function(){"function"==typeof n.ready&&n.ready.call(this,r,o)}};r.hasClass("bottom-sheet")?r.velocity({bottom:"0",opacity:1},d):(t.Velocity.hook(r,"scaleX",.7),r.css({top:n.startingTop}),r.velocity({top:n.endingTop,opacity:1,scaleX:"1"},d))}};t(document).off("click.modalTrigger",'a[href="#'+o+'"], [data-target="'+o+'"]'),t(this).off("openModal"),t(this).off("closeModal"),t(document).on("click.modalTrigger",'a[href="#'+o+'"], [data-target="'+o+'"]',function(e){n.startingTop=(t(this).offset().top-t(window).scrollTop())/1.15,s(t(this)),e.preventDefault()}),t(this).on("openModal",function(){t(this).attr("href")||t(this).data("target");s()}),t(this).on("closeModal",function(){a()})})},open:function(){t(this).trigger("openModal")},close:function(){t(this).trigger("closeModal")}};t.fn.modal=function(e){return r[e]?r[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void t.error("Method "+e+" does not exist on jQuery.modal"):r.init.apply(this,arguments)}}(C),function(t){t.fn.materialbox=function(){return this.each(function(){function returnToOriginal(){r=!1;var n=a.parent(".material-placeholder"),s=(window.innerWidth,window.innerHeight,a.data("width")),u=a.data("height");a.velocity("stop",!0),t("#materialbox-overlay").velocity("stop",!0),t(".materialbox-caption").velocity("stop",!0),t("#materialbox-overlay").velocity({opacity:0},{duration:o,queue:!1,easing:"easeOutQuad",complete:function(){i=!1,t(this).remove()}}),a.velocity({width:s,height:u,left:0,top:0},{duration:o,queue:!1,easing:"easeOutQuad",complete:function(){n.css({height:"",width:"",position:"",top:"",left:""}),a.removeAttr("style"),a.attr("style",l),a.removeClass("active"),r=!0,e&&e.css("overflow","")}}),t(".materialbox-caption").velocity({opacity:0},{duration:o,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}})}if(!t(this).hasClass("initialized")){t(this).addClass("initialized");var e,n,i=!1,r=!0,o=200,a=t(this),s=t("<div></div>").addClass("material-placeholder"),l=a.attr("style");a.wrap(s),a.on("click",function(){var o=a.parent(".material-placeholder"),s=window.innerWidth,l=window.innerHeight,u=a.width(),c=a.height();if(!1===r)return returnToOriginal(),!1;if(i&&!0===r)return returnToOriginal(),!1;r=!1,a.addClass("active"),i=!0,o.css({width:o[0].getBoundingClientRect().width,height:o[0].getBoundingClientRect().height,position:"relative",top:0,left:0}),e=void 0,n=o[0].parentNode;for(;null!==n&&!t(n).is(document);){var d=t(n);"visible"!==d.css("overflow")&&(d.css("overflow","visible"),e=void 0===e?d:e.add(d)),n=n.parentNode}a.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}).data("width",u).data("height",c);var f=t('<div id="materialbox-overlay"></div>').css({opacity:0}).click(function(){!0===r&&returnToOriginal()});a.before(f);var h=f[0].getBoundingClientRect();if(f.css({width:s,height:l,left:-1*h.left,top:-1*h.top}),f.velocity({opacity:1},{duration:275,queue:!1,easing:"easeOutQuad"}),""!==a.data("caption")){var p=t('<div class="materialbox-caption"></div>');p.text(a.data("caption")),t("body").append(p),p.css({display:"inline"}),p.velocity({opacity:1},{duration:275,queue:!1,easing:"easeOutQuad"})}var g=0,v=u/s,m=c/l,y=0,b=0;v>m?(g=c/u,y=.9*s,b=.9*s*g):(g=u/c,y=.9*l*g,b=.9*l),a.hasClass("responsive-img")?a.velocity({"max-width":y,width:u},{duration:0,queue:!1,complete:function(){a.css({left:0,top:0}).velocity({height:b,width:y,left:t(document).scrollLeft()+s/2-a.parent(".material-placeholder").offset().left-y/2,top:t(document).scrollTop()+l/2-a.parent(".material-placeholder").offset().top-b/2},{duration:275,queue:!1,easing:"easeOutQuad",complete:function(){r=!0}})}}):a.css("left",0).css("top",0).velocity({height:b,width:y,left:t(document).scrollLeft()+s/2-a.parent(".material-placeholder").offset().left-y/2,top:t(document).scrollTop()+l/2-a.parent(".material-placeholder").offset().top-b/2},{duration:275,queue:!1,easing:"easeOutQuad",complete:function(){r=!0}})}),t(window).scroll(function(){i&&returnToOriginal()}),t(document).keyup(function(t){27===t.keyCode&&!0===r&&i&&returnToOriginal()})}})},t(document).ready(function(){t(".materialboxed").materialbox()})}(C),function(t){t.fn.parallax=function(){var e=t(window).width();return this.each(function(n){function updateParallax(n){var r;r=e<601?i.height()>0?i.height():i.children("img").height():i.height()>0?i.height():500;var o=i.children("img").first(),a=o.height(),s=a-r,l=i.offset().top+r,u=i.offset().top,c=t(window).scrollTop(),d=window.innerHeight,f=c+d,h=(f-u)/(r+d),p=Math.round(s*h);n&&o.css("display","block"),l>c&&u<c+d&&o.css("transform","translate3D(-50%,"+p+"px, 0)")}var i=t(this);i.addClass("parallax"),i.children("img").one("load",function(){updateParallax(!0)}).each(function(){this.complete&&t(this).trigger("load")}),t(window).scroll(function(){e=t(window).width(),updateParallax(!1)}),t(window).resize(function(){e=t(window).width(),updateParallax(!1)})})}}(C),function(t){var e={init:function(e){var n={onShow:null,swipeable:!1,responsiveThreshold:1/0};e=t.extend(n,e);var i=Materialize.objectSelectorString(t(this));return this.each(function(n){var r,o,a,s,l,u=i+n,c=t(this),d=t(window).width(),f=c.find("li.tab a"),h=c.width(),p=t(),g=Math.max(h,c[0].scrollWidth)/f.length,v=prev_index=0,m=!1,y=function(t){return Math.ceil(h-t.position().left-t.outerWidth()-c.scrollLeft())},b=function(t){return Math.floor(t.position().left+c.scrollLeft())},w=function(t){v-t>=0?(s.velocity({right:y(r)},{duration:300,queue:!1,easing:"easeOutQuad"}),s.velocity({left:b(r)},{duration:300,queue:!1,easing:"easeOutQuad",delay:90})):(s.velocity({left:b(r)},{duration:300,queue:!1,easing:"easeOutQuad"}),s.velocity({right:y(r)},{duration:300,queue:!1,easing:"easeOutQuad",delay:90}))};e.swipeable&&d>e.responsiveThreshold&&(e.swipeable=!1),r=t(f.filter('[href="'+location.hash+'"]')),0===r.length&&(r=t(this).find("li.tab a.active").first()),0===r.length&&(r=t(this).find("li.tab a").first()),r.addClass("active"),v=f.index(r),v<0&&(v=0),void 0!==r[0]&&(o=t(r[0].hash),o.addClass("active")),c.find(".indicator").length||c.append('<div class="indicator"></div>'),s=c.find(".indicator"),c.append(s),c.is(":visible")&&setTimeout(function(){s.css({right:y(r)}),s.css({left:b(r)})},0),t(window).off("resize.tabs-"+u).on("resize.tabs-"+u,function(){h=c.width(),g=Math.max(h,c[0].scrollWidth)/f.length,v<0&&(v=0),0!==g&&0!==h&&(s.css({right:y(r)}),s.css({left:b(r)}))}),e.swipeable?(f.each(function(){var e=t(Materialize.escapeHash(this.hash));e.addClass("carousel-item"),p=p.add(e)}),a=p.wrapAll('<div class="tabs-content carousel"></div>'),p.css("display",""),t(".tabs-content.carousel").carousel({fullWidth:!0,noWrap:!0,onCycleTo:function(t){if(!m){var e=v;v=a.index(t),r=f.eq(v),w(e)}}})):f.not(r).each(function(){t(Materialize.escapeHash(this.hash)).hide()}),c.off("click.tabs").on("click.tabs","a",function(n){if(t(this).parent().hasClass("disabled"))return void n.preventDefault();if(!t(this).attr("target")){m=!0,h=c.width(),g=Math.max(h,c[0].scrollWidth)/f.length,r.removeClass("active");var i=o;r=t(this),o=t(Materialize.escapeHash(this.hash)),f=c.find("li.tab a");r.position();r.addClass("active"),prev_index=v,v=f.index(t(this)),v<0&&(v=0),e.swipeable?p.length&&p.carousel("set",v):(void 0!==o&&(o.show(),o.addClass("active"),"function"==typeof e.onShow&&e.onShow.call(this,o)),void 0===i||i.is(o)||(i.hide(),i.removeClass("active"))),l=setTimeout(function(){m=!1},300),w(prev_index),n.preventDefault()}})})},select_tab:function(t){this.find('a[href="#'+t+'"]').trigger("click")}};t.fn.tabs=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.tabs"):e.init.apply(this,arguments)},t(document).ready(function(){t("ul.tabs").tabs()})}(C),function(t){t.fn.tooltip=function(n){var i={delay:350,tooltip:"",position:"bottom",html:!1};return"remove"===n?(this.each(function(){t("#"+t(this).attr("data-tooltip-id")).remove(),t(this).off("mouseenter.tooltip mouseleave.tooltip")}),!1):(n=t.extend(i,n),this.each(function(){var i=Materialize.guid(),r=t(this);r.attr("data-tooltip-id")&&t("#"+r.attr("data-tooltip-id")).remove(),r.attr("data-tooltip-id",i);var o,a,s,l,u,c,d=function(){o=r.attr("data-html")?"true"===r.attr("data-html"):n.html,a=r.attr("data-delay"),a=void 0===a||""===a?n.delay:a,s=r.attr("data-position"),s=void 0===s||""===s?n.position:s,l=r.attr("data-tooltip"),l=void 0===l||""===l?n.tooltip:l};d();u=function(){var e=t('<div class="material-tooltip"></div>');return l=o?t("<span></span>").html(l):t("<span></span>").text(l),e.append(l).appendTo(t("body")).attr("id",i),c=t('<div class="backdrop"></div>'),c.appendTo(e),e}(),r.off("mouseenter.tooltip mouseleave.tooltip");var f,h=!1;r.on({"mouseenter.tooltip":function(t){var n=function(){d(),h=!0,u.velocity("stop"),c.velocity("stop"),u.css({visibility:"visible",left:"0px",top:"0px"});var t,n,i,o=r.outerWidth(),a=r.outerHeight(),l=u.outerHeight(),f=u.outerWidth(),p="0px",g="0px",v=c[0].offsetWidth,m=c[0].offsetHeight,y=8,b=8,w=0;"top"===s?(t=r.offset().top-l-5,n=r.offset().left+o/2-f/2,i=e(n,t,f,l),p="-10px",c.css({bottom:0,left:0,borderRadius:"14px 14px 0 0",transformOrigin:"50% 100%",marginTop:l,marginLeft:f/2-v/2})):"left"===s?(t=r.offset().top+a/2-l/2,n=r.offset().left-f-5,i=e(n,t,f,l),g="-10px",c.css({top:"-7px",right:0,width:"14px",height:"14px",borderRadius:"14px 0 0 14px",transformOrigin:"95% 50%",marginTop:l/2,marginLeft:f})):"right"===s?(t=r.offset().top+a/2-l/2,n=r.offset().left+o+5,i=e(n,t,f,l),g="+10px",c.css({top:"-7px",left:0,width:"14px",height:"14px",borderRadius:"0 14px 14px 0",transformOrigin:"5% 50%",marginTop:l/2,marginLeft:"0px"})):(t=r.offset().top+r.outerHeight()+5,n=r.offset().left+o/2-f/2,i=e(n,t,f,l),p="+10px",c.css({top:0,left:0,marginLeft:f/2-v/2})),u.css({top:i.y,left:i.x}),y=Math.SQRT2*f/parseInt(v),b=Math.SQRT2*l/parseInt(m),w=Math.max(y,b),u.velocity({translateY:p,translateX:g},{duration:350,queue:!1}).velocity({opacity:1},{duration:300,delay:50,queue:!1}),c.css({visibility:"visible"}).velocity({opacity:1},{duration:55,delay:0,queue:!1}).velocity({scaleX:w,scaleY:w},{duration:300,delay:0,queue:!1,easing:"easeInOutQuad"})};f=setTimeout(n,a)},"mouseleave.tooltip":function(){h=!1,clearTimeout(f),setTimeout(function(){!0!==h&&(u.velocity({opacity:0,translateY:0,translateX:0},{duration:225,queue:!1}),c.velocity({opacity:0,scaleX:1,scaleY:1},{duration:225,queue:!1,complete:function(){c.css({visibility:"hidden"}),u.css({visibility:"hidden"}),h=!1}}))},225)}})}))};var e=function(e,n,i,r){var o=e,a=n;return o<0?o=4:o+i>window.innerWidth&&(o-=o+i-window.innerWidth),a<0?a=4:a+r>window.innerHeight+t(window).scrollTop&&(a-=a+r-window.innerHeight),{x:o,y:a}};t(document).ready(function(){t(".tooltipped").tooltip()})}(C),function(t){"use strict";function isWindow(t){return null!==t&&t===t.window}function getWindow(t){return isWindow(t)?t:9===t.nodeType&&t.defaultView}function offset(t){var e,n,i={top:0,left:0},r=t&&t.ownerDocument;return e=r.documentElement,void 0!==t.getBoundingClientRect&&(i=t.getBoundingClientRect()),n=getWindow(r),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}}function convertStyle(t){var e="";for(var n in t)t.hasOwnProperty(n)&&(e+=n+":"+t[n]+";");return e}function getWavesEffectElement(t){if(!1===r.allowEvent(t))return null;for(var e=null,n=t.target||t.srcElement;null!==n.parentElement;){if(!(n instanceof SVGElement||-1===n.className.indexOf("waves-effect"))){e=n;break}if(n.classList.contains("waves-effect")){e=n;break}n=n.parentElement}return e}function showEffect(e){var n=getWavesEffectElement(e);null!==n&&(i.show(e,n),"ontouchstart"in t&&(n.addEventListener("touchend",i.hide,!1),n.addEventListener("touchcancel",i.hide,!1)),n.addEventListener("mouseup",i.hide,!1),n.addEventListener("mouseleave",i.hide,!1))}var e=e||{},n=document.querySelectorAll.bind(document),i={duration:750,show:function(t,e){if(2===t.button)return!1;var n=e||this,r=document.createElement("div");r.className="waves-ripple",n.appendChild(r);var o=offset(n),a=t.pageY-o.top,s=t.pageX-o.left,l="scale("+n.clientWidth/100*10+")";"touches"in t&&(a=t.touches[0].pageY-o.top,s=t.touches[0].pageX-o.left),r.setAttribute("data-hold",Date.now()),r.setAttribute("data-scale",l),r.setAttribute("data-x",s),r.setAttribute("data-y",a);var u={top:a+"px",left:s+"px"};r.className=r.className+" waves-notransition",r.setAttribute("style",convertStyle(u)),r.className=r.className.replace("waves-notransition",""),u["-webkit-transform"]=l,u["-moz-transform"]=l,u["-ms-transform"]=l,u["-o-transform"]=l,u.transform=l,u.opacity="1",u["-webkit-transition-duration"]=i.duration+"ms",u["-moz-transition-duration"]=i.duration+"ms",u["-o-transition-duration"]=i.duration+"ms",u["transition-duration"]=i.duration+"ms",u["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",u["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",u["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",u["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",r.setAttribute("style",convertStyle(u))},hide:function(t){r.touchup(t);var e=this,n=(e.clientWidth,null),o=e.getElementsByClassName("waves-ripple");if(!(o.length>0))return!1;n=o[o.length-1];var a=n.getAttribute("data-x"),s=n.getAttribute("data-y"),l=n.getAttribute("data-scale"),u=Date.now()-Number(n.getAttribute("data-hold")),c=350-u;c<0&&(c=0),setTimeout(function(){var t={top:s+"px",left:a+"px",opacity:"0","-webkit-transition-duration":i.duration+"ms","-moz-transition-duration":i.duration+"ms","-o-transition-duration":i.duration+"ms","transition-duration":i.duration+"ms","-webkit-transform":l,"-moz-transform":l,"-ms-transform":l,"-o-transform":l,transform:l};n.setAttribute("style",convertStyle(t)),setTimeout(function(){try{e.removeChild(n)}catch(t){return!1}},i.duration)},c)},wrapInput:function(t){for(var e=0;e<t.length;e++){var n=t[e];if("input"===n.tagName.toLowerCase()){var i=n.parentNode;if("i"===i.tagName.toLowerCase()&&-1!==i.className.indexOf("waves-effect"))continue;var r=document.createElement("i");r.className=n.className+" waves-input-wrapper";var o=n.getAttribute("style");o||(o=""),r.setAttribute("style",o),n.className="waves-button-input",n.removeAttribute("style"),i.replaceChild(r,n),r.appendChild(n)}}}},r={touches:0,allowEvent:function(t){var e=!0;return"touchstart"===t.type?r.touches+=1:"touchend"===t.type||"touchcancel"===t.type?setTimeout(function(){r.touches>0&&(r.touches-=1)},500):"mousedown"===t.type&&r.touches>0&&(e=!1),e},touchup:function(t){r.allowEvent(t)}};e.displayEffect=function(e){e=e||{},"duration"in e&&(i.duration=e.duration),i.wrapInput(n(".waves-effect")),"ontouchstart"in t&&document.body.addEventListener("touchstart",showEffect,!1),document.body.addEventListener("mousedown",showEffect,!1)},e.attach=function(e){"input"===e.tagName.toLowerCase()&&(i.wrapInput([e]),e=e.parentElement),"ontouchstart"in t&&e.addEventListener("touchstart",showEffect,!1),e.addEventListener("mousedown",showEffect,!1)},t.Waves=e,document.addEventListener("DOMContentLoaded",function(){e.displayEffect()},!1)}(window),Materialize.toast=function(t,e,n,i){n=n||"";var r=document.getElementById("toast-container");null===r&&(r=document.createElement("div"),r.id="toast-container",document.body.appendChild(r));var o=function(t){var e=document.createElement("div");if(e.classList.add("toast"),n)for(var r=n.split(" "),o=0,a=r.length;o<a;o++)e.classList.add(r[o]);("object"==typeof HTMLElement?t instanceof HTMLElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName)?e.appendChild(t):t instanceof C?e.appendChild(t[0]):e.innerHTML=t;var s=new Hammer(e,{prevent_default:!1});return s.on("pan",function(t){var n=t.deltaX;e.classList.contains("panning")||e.classList.add("panning");var i=1-Math.abs(n/80);i<0&&(i=0),_(e,{left:n,opacity:i},{duration:50,queue:!1,easing:"easeOutQuad"})}),s.on("panend",function(t){var n=t.deltaX;Math.abs(n)>80?_(e,{marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof i&&i(),e.parentNode.removeChild(e)}}):(e.classList.remove("panning"),_(e,{left:0,opacity:1},{duration:300,easing:"easeOutExpo",queue:!1}))}),e}(t);t&&r.appendChild(o),o.style.opacity=0,_(o,{translateY:"-35px",opacity:1},{duration:300,easing:"easeOutCubic",queue:!1});var a,s=e;null!=s&&(a=setInterval(function(){null===o.parentNode&&window.clearInterval(a),o.classList.contains("panning")||(s-=20),s<=0&&(_(o,{opacity:0,marginTop:"-40px"},{duration:375,easing:"easeOutExpo",queue:!1,complete:function(){"function"==typeof i&&i(),this[0].parentNode.removeChild(this[0])}}),window.clearInterval(a))},20))},function(t){var e={init:function(e){var n={menuWidth:300,edge:"left",closeOnClick:!1,draggable:!0};e=t.extend(n,e),t(this).each(function(){var n=t(this),i=n.attr("data-activates"),r=t("#"+i);300!=e.menuWidth&&r.css("width",e.menuWidth);var o=t('.drag-target[data-sidenav="'+i+'"]');e.draggable?(o.length&&o.remove(),o=t('<div class="drag-target"></div>').attr("data-sidenav",i),t("body").append(o)):o=t(),"left"==e.edge?(r.css("transform","translateX(-100%)"),o.css({left:0})):(r.addClass("right-aligned").css("transform","translateX(100%)"),o.css({right:0})),r.hasClass("fixed")&&window.innerWidth>992&&r.css("transform","translateX(0)"),r.hasClass("fixed")&&t(window).resize(function(){window.innerWidth>992?0!==t("#sidenav-overlay").length&&l?a(!0):r.css("transform","translateX(0%)"):!1===l&&("left"===e.edge?r.css("transform","translateX(-100%)"):r.css("transform","translateX(100%)"))}),!0===e.closeOnClick&&r.on("click.itemclick","a:not(.collapsible-header)",function(){a()});var a=function(n){s=!1,l=!1,t("body").css({overflow:"",width:""}),t("#sidenav-overlay").velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),"left"===e.edge?(o.css({width:"",right:"",left:"0"}),r.velocity({translateX:"-100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===n&&(r.removeAttr("style"),r.css("width",e.menuWidth))}})):(o.css({width:"",right:"0",left:""}),r.velocity({translateX:"100%"},{duration:200,queue:!1,easing:"easeOutCubic",complete:function(){!0===n&&(r.removeAttr("style"),r.css("width",e.menuWidth))}}))},s=!1,l=!1;e.draggable&&(o.on("click",function(){l&&a()}),o.hammer({prevent_default:!1}).bind("pan",function(n){if("touch"==n.gesture.pointerType){var i=(n.gesture.direction,n.gesture.center.x),o=(n.gesture.center.y,n.gesture.velocityX,t("body")),s=t("#sidenav-overlay"),u=o.innerWidth();if(o.css("overflow","hidden"),o.width(u),0===s.length&&(s=t('<div id="sidenav-overlay"></div>'),s.css("opacity",0).click(function(){a()}),t("body").append(s)),"left"===e.edge&&(i>e.menuWidth?i=e.menuWidth:i<0&&(i=0)),"left"===e.edge)i<e.menuWidth/2?l=!1:i>=e.menuWidth/2&&(l=!0),r.css("transform","translateX("+(i-e.menuWidth)+"px)");else{i<window.innerWidth-e.menuWidth/2?l=!0:i>=window.innerWidth-e.menuWidth/2&&(l=!1);var c=i-e.menuWidth/2;c<0&&(c=0),r.css("transform","translateX("+c+"px)")}var d;"left"===e.edge?(d=i/e.menuWidth,s.velocity({opacity:d},{duration:10,queue:!1,easing:"easeOutQuad"})):(d=Math.abs((i-window.innerWidth)/e.menuWidth),s.velocity({opacity:d},{duration:10,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(n){if("touch"==n.gesture.pointerType){var i=t("#sidenav-overlay"),a=n.gesture.velocityX,u=n.gesture.center.x,c=u-e.menuWidth,d=u-e.menuWidth/2;c>0&&(c=0),d<0&&(d=0),s=!1,"left"===e.edge?l&&a<=.3||a<-.5?(0!==c&&r.velocity({translateX:[0,c]},{duration:300,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:0,left:""}),l=!0):(!l||a>.3)&&(t("body").css({overflow:"",width:""}),r.velocity({translateX:[-1*e.menuWidth-10,c]},{duration:200,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),o.css({width:"10px",right:"",left:0})):l&&a>=-.3||a>.5?(0!==d&&r.velocity({translateX:[0,d]},{duration:300,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:1},{duration:50,queue:!1,easing:"easeOutQuad"}),o.css({width:"50%",right:"",left:0}),l=!0):(!l||a<-.3)&&(t("body").css({overflow:"",width:""}),r.velocity({translateX:[e.menuWidth+10,d]},{duration:200,queue:!1,easing:"easeOutQuad"}),i.velocity({opacity:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}}),o.css({width:"10px",right:0,left:""}))}})),n.off("click.sidenav").on("click.sidenav",function(){if(!0===l)l=!1,s=!1,a();else{var n=t("body"),i=t('<div id="sidenav-overlay"></div>'),u=n.innerWidth();n.css("overflow","hidden"),n.width(u),t("body").append(o),"left"===e.edge?(o.css({width:"50%",right:0,left:""}),r.velocity({translateX:[0,-1*e.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})):(o.css({width:"50%",right:"",left:0}),r.velocity({translateX:[0,e.menuWidth]},{duration:300,queue:!1,easing:"easeOutQuad"})),i.css("opacity",0).click(function(){l=!1,s=!1,a(),i.velocity({opacity:0},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){t(this).remove()}})}),t("body").append(i),i.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){l=!0,s=!1}})}return!1})})},destroy:function(){var e=t("#sidenav-overlay"),n=t('.drag-target[data-sidenav="'+t(this).attr("data-activates")+'"]');e.trigger("click"),n.remove(),t(this).off("click"),e.remove()},show:function(){this.trigger("click")},hide:function(){t("#sidenav-overlay").trigger("click")}};t.fn.sideNav=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.sideNav"):e.init.apply(this,arguments)}}(C),function(t){function findElements(e,i,r,o){var a=t();return t.each(n,function(t,n){if(n.height()>0){var s=n.offset().top,l=n.offset().left,u=l+n.width(),c=s+n.height();!(l>i||u<o||s>r||c<e)&&a.push(n)}}),a}function onScroll(n){++o;var r=e.scrollTop(),s=e.scrollLeft(),l=s+e.width(),u=r+e.height(),c=findElements(r+a.top+n||200,l+a.right,u+a.bottom,s+a.left);t.each(c,function(t,e){"number"!=typeof e.data("scrollSpy:ticks")&&e.triggerHandler("scrollSpy:enter"),e.data("scrollSpy:ticks",o)}),t.each(i,function(t,e){var n=e.data("scrollSpy:ticks");"number"==typeof n&&n!==o&&(e.triggerHandler("scrollSpy:exit"),e.data("scrollSpy:ticks",null))}),i=c}function onWinSize(){e.trigger("scrollSpy:winSize")}var e=t(window),n=[],i=[],r=!1,o=0,a={top:0,right:0,bottom:0,left:0};t.scrollSpy=function(i,o){var s={throttle:100,scrollOffset:200};o=t.extend(s,o);var l=[];i=t(i),i.each(function(e,i){n.push(t(i)),t(i).data("scrollSpy:id",e),t('a[href="#'+t(i).attr("id")+'"]').click(function(e){e.preventDefault();var n=t(Materialize.escapeHash(this.hash)).offset().top+1;t("html, body").animate({scrollTop:n-o.scrollOffset},{duration:400,queue:!1,easing:"easeOutCubic"})})}),a.top=o.offsetTop||0,a.right=o.offsetRight||0,a.bottom=o.offsetBottom||0,a.left=o.offsetLeft||0;var u=Materialize.throttle(function(){onScroll(o.scrollOffset)},o.throttle||100),c=function(){t(document).ready(u)};return r||(e.on("scroll",c),e.on("resize",c),r=!0),setTimeout(c,0),i.on("scrollSpy:enter",function(){l=t.grep(l,function(t){return 0!=t.height()});var e=t(this);l[0]?(t('a[href="#'+l[0].attr("id")+'"]').removeClass("active"),e.data("scrollSpy:id")<l[0].data("scrollSpy:id")?l.unshift(t(this)):l.push(t(this))):l.push(t(this)),t('a[href="#'+l[0].attr("id")+'"]').addClass("active")}),i.on("scrollSpy:exit",function(){if(l=t.grep(l,function(t){return 0!=t.height()}),l[0]){t('a[href="#'+l[0].attr("id")+'"]').removeClass("active");var e=t(this);l=t.grep(l,function(t){return t.attr("id")!=e.attr("id")}),l[0]&&t('a[href="#'+l[0].attr("id")+'"]').addClass("active")}}),i},t.winSizeSpy=function(n){return t.winSizeSpy=function(){return e},n=n||{throttle:100},e.on("resize",Materialize.throttle(onWinSize,n.throttle||100))},t.fn.scrollSpy=function(e){return t.scrollSpy(t(this),e)}}(C),function(t){t(document).ready(function(){function textareaAutoResize(e){var i=e.css("font-family"),r=e.css("font-size"),o=e.css("line-height");r&&n.css("font-size",r),i&&n.css("font-family",i),o&&n.css("line-height",o),"off"===e.attr("wrap")&&n.css("overflow-wrap","normal").css("white-space","pre"),n.text(e.val()+"\n");var a=n.html().replace(/\n/g,"<br>");n.html(a),e.is(":visible")?n.css("width",e.width()):n.css("width",t(window).width()/2),e.data("original-height")<=n.height()?e.css("height",n.height()):e.val().length<e.data("previous-length")&&e.css("height",e.data("original-height")),e.data("previous-length",e.val().length)}Materialize.updateTextFields=function(){t("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea").each(function(e,n){var i=t(this);t(n).val().length>0||n.autofocus||void 0!==i.attr("placeholder")?i.siblings("label").addClass("active"):t(n)[0].validity?i.siblings("label").toggleClass("active",!0===t(n)[0].validity.badInput):i.siblings("label").removeClass("active")})};var e="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea";t(document).on("change",e,function(){0===t(this).val().length&&void 0===t(this).attr("placeholder")||t(this).siblings("label").addClass("active"),validate_field(t(this))}),t(document).ready(function(){Materialize.updateTextFields()}),t(document).on("reset",function(n){var i=t(n.target);i.is("form")&&(i.find(e).removeClass("valid").removeClass("invalid"),i.find(e).each(function(){""===t(this).attr("value")&&t(this).siblings("label").removeClass("active")}),i.find("select.initialized").each(function(){var t=i.find("option[selected]").text();i.siblings("input.select-dropdown").val(t)}))}),t(document).on("focus",e,function(){t(this).siblings("label, .prefix").addClass("active")}),t(document).on("blur",e,function(){var e=t(this),n=".prefix";0===e.val().length&&!0!==e[0].validity.badInput&&void 0===e.attr("placeholder")&&(n+=", label"),e.siblings(n).removeClass("active"),validate_field(e)}),window.validate_field=function(t){var e=void 0!==t.attr("data-length"),n=parseInt(t.attr("data-length")),i=t.val().length;0===t.val().length&&!1===t[0].validity.badInput?t.hasClass("validate")&&(t.removeClass("valid"),t.removeClass("invalid")):t.hasClass("validate")&&(t.is(":valid")&&e&&i<=n||t.is(":valid")&&!e?(t.removeClass("invalid"),t.addClass("valid")):(t.removeClass("valid"),t.addClass("invalid")))};t(document).on("keyup.radio","input[type=radio], input[type=checkbox]",function(e){if(9===e.which){t(this).addClass("tabbed");return void t(this).one("blur",function(e){t(this).removeClass("tabbed")})}});var n=t(".hiddendiv").first();n.length||(n=t('<div class="hiddendiv common"></div>'),t("body").append(n));t(".materialize-textarea").each(function(){var e=t(this);e.data("original-height",e.height()),e.data("previous-length",e.val().length)}),t("body").on("keyup keydown autoresize",".materialize-textarea",function(){textareaAutoResize(t(this))}),t(document).on("change",'.file-field input[type="file"]',function(){for(var e=t(this).closest(".file-field"),n=e.find("input.file-path"),i=t(this)[0].files,r=[],o=0;o<i.length;o++)r.push(i[o].name);n.val(r.join(", ")),n.trigger("change")});var i="input[type=range]",r=!1;t(i).each(function(){var e=t('<span class="thumb"><span class="value"></span></span>');t(this).after(e)});var o=function(t){var e=parseInt(t.parent().css("padding-left")),n=-7+e+"px";t.velocity({height:"30px",width:"30px",top:"-30px",marginLeft:n},{duration:300,easing:"easeOutExpo"})},a=function(t){var e=t.width()-15,n=parseFloat(t.attr("max")),i=parseFloat(t.attr("min"));return(parseFloat(t.val())-i)/(n-i)*e};t(document).on("change",i,function(e){var n=t(this).siblings(".thumb");n.find(".value").html(t(this).val()),n.hasClass("active")||o(n);var i=a(t(this));n.addClass("active").css("left",i)}),t(document).on("mousedown touchstart",i,function(e){var n=t(this).siblings(".thumb");if(n.length<=0&&(n=t('<span class="thumb"><span class="value"></span></span>'),t(this).after(n)),n.find(".value").html(t(this).val()),r=!0,t(this).addClass("active"),n.hasClass("active")||o(n),"input"!==e.type){var i=a(t(this));n.addClass("active").css("left",i)}}),t(document).on("mouseup touchend",".range-field",function(){r=!1,t(this).removeClass("active")}),t(document).on("input mousemove touchmove",".range-field",function(e){var n=t(this).children(".thumb"),s=t(this).find(i);if(r){n.hasClass("active")||o(n);var l=a(s);n.addClass("active").css("left",l),n.find(".value").html(n.siblings(i).val())}}),t(document).on("mouseout touchleave",".range-field",function(){if(!r){var e=t(this).children(".thumb"),n=parseInt(t(this).css("padding-left")),i=7+n+"px";e.hasClass("active")&&e.velocity({height:"0",width:"0",top:"10px",marginLeft:i},{duration:100}),e.removeClass("active")}}),t.fn.autocomplete=function(e){var n={data:{},limit:1/0,onAutocomplete:null,minLength:1};return e=t.extend(n,e),this.each(function(){var n,i=t(this),r=e.data,o=0,a=-1,s=i.closest(".input-field");if(!t.isEmptyObject(r)){var l,u=t('<ul class="autocomplete-content dropdown-content"></ul>');s.length?(l=s.children(".autocomplete-content.dropdown-content").first(),l.length||s.append(u)):(l=i.next(".autocomplete-content.dropdown-content"),l.length||i.after(u)),l.length&&(u=l);var c=function(t,e){var n=e.find("img"),i=e.text().toLowerCase().indexOf(""+t.toLowerCase()),r=i+t.length-1,o=e.text().slice(0,i),a=e.text().slice(i,r+1),s=e.text().slice(r+1);e.html("<span>"+o+"<span class='highlight'>"+a+"</span>"+s+"</span>"),n.length&&e.prepend(n)},d=function(){a=-1,u.find(".active").removeClass("active")},f=function(){u.empty(),d(),n=void 0};i.off("blur.autocomplete").on("blur.autocomplete",function(){f()}),i.off("keyup.autocomplete focus.autocomplete").on("keyup.autocomplete focus.autocomplete",function(a){o=0;var s=i.val().toLowerCase();if(13!==a.which&&38!==a.which&&40!==a.which){if(n!==s&&(f(),s.length>=e.minLength))for(var l in r)if(r.hasOwnProperty(l)&&-1!==l.toLowerCase().indexOf(s)&&l.toLowerCase()!==s){if(o>=e.limit)break;var d=t("<li></li>");r[l]?d.append('<img src="'+r[l]+'" class="right circle"><span>'+l+"</span>"):d.append("<span>"+l+"</span>"),u.append(d),c(s,d),o++}n=s}}),i.off("keydown.autocomplete").on("keydown.autocomplete",function(t){var e,n=t.which,i=u.children("li").length,r=u.children(".active").first();if(13===n&&a>=0)return e=u.children("li").eq(a),void(e.length&&(e.trigger("mousedown.autocomplete"),t.preventDefault()));38!==n&&40!==n||(t.preventDefault(),38===n&&a>0&&a--,40===n&&a<i-1&&a++,r.removeClass("active"),a>=0&&u.children("li").eq(a).addClass("active"))}),u.on("mousedown.autocomplete touchstart.autocomplete","li",function(){var n=t(this).text().trim();i.val(n),i.trigger("change"),f(),"function"==typeof e.onAutocomplete&&e.onAutocomplete.call(this,n)})}})}}),t.fn.material_select=function(e){function toggleEntryFromArray(t,e,n){var i=t.indexOf(e),r=-1===i;return r?t.push(e):t.splice(i,1),n.siblings("ul.dropdown-content").find("li:not(.optgroup)").eq(e).toggleClass("active"),n.find("option").eq(e).prop("selected",r),setValueToInput(t,n),r}function setValueToInput(t,e){for(var n="",i=0,r=t.length;i<r;i++){var o=e.find("option").eq(t[i]).text();n+=0===i?o:", "+o}""===n&&(n=e.find("option:disabled").eq(0).text()),e.siblings("input.select-dropdown").val(n)}t(this).each(function(){var n=t(this);if(!n.hasClass("browser-default")){var i=!!n.attr("multiple"),r=n.data("select-id");if(r&&(n.parent().find("span.caret").remove(),n.parent().find("input").remove(),n.unwrap(),t("ul#select-options-"+r).remove()),"destroy"===e)return void n.data("select-id",null).removeClass("initialized");var o=Materialize.guid();n.data("select-id",o);var a=t('<div class="select-wrapper"></div>');a.addClass(n.attr("class"));var s=t('<ul id="select-options-'+o+'" class="dropdown-content select-dropdown '+(i?"multiple-select-dropdown":"")+'"></ul>'),l=n.children("option, optgroup"),u=[],c=!1,d=n.find("option:selected").html()||n.find("option:first").html()||"",f=function(e,n,r){var o=n.is(":disabled")?"disabled ":"",a="optgroup-option"===r?"optgroup-option ":"",l=i?'<input type="checkbox"'+o+"/><label></label>":"",u=n.data("icon"),c=n.attr("class");if(u){var d="";return c&&(d=' class="'+c+'"'),s.append(t('<li class="'+o+a+'"><img alt="" src="'+u+'"'+d+"><span>"+l+n.html()+"</span></li>")),!0}s.append(t('<li class="'+o+a+'"><span>'+l+n.html()+"</span></li>"))};l.length&&l.each(function(){if(t(this).is("option"))i?f(0,t(this),"multiple"):f(0,t(this));else if(t(this).is("optgroup")){var e=t(this).children("option");s.append(t('<li class="optgroup"><span>'+t(this).attr("label")+"</span></li>")),e.each(function(){f(0,t(this),"optgroup-option")})}}),s.find("li:not(.optgroup)").each(function(r){t(this).click(function(o){if(!t(this).hasClass("disabled")&&!t(this).hasClass("optgroup")){var a=!0;i?(t('input[type="checkbox"]',this).prop("checked",function(t,e){return!e}),a=toggleEntryFromArray(u,r,n),g.trigger("focus")):(s.find("li").removeClass("active"),t(this).toggleClass("active"),g.val(t(this).text())),v(s,t(this)),n.find("option").eq(r).prop("selected",a),n.trigger("change"),void 0!==e&&e()}o.stopPropagation()})}),n.wrap(a);var h=t('<span class="caret">▼</span>');n.is(":disabled")&&h.addClass("disabled");var p=d.replace(/"/g,"""),g=t('<input type="text" class="select-dropdown" readonly="true" '+(n.is(":disabled")?"disabled":"")+' data-activates="select-options-'+o+'" value="'+p+'"/>');n.before(g),g.before(h),g.after(s),n.is(":disabled")||g.dropdown({hover:!1}),n.attr("tabindex")&&t(g[0]).attr("tabindex",n.attr("tabindex")),n.addClass("initialized"),g.on({focus:function(){if(t("ul.select-dropdown").not(s[0]).is(":visible")&&t("input.select-dropdown").trigger("close"),!s.is(":visible")){t(this).trigger("open",["focus"]);var e=t(this).val();i&&e.indexOf(",")>=0&&(e=e.split(",")[0]);var n=s.find("li").filter(function(){return t(this).text().toLowerCase()===e.toLowerCase()})[0];v(s,n,!0)}},click:function(t){t.stopPropagation()}}),g.on("blur",function(){i||t(this).trigger("close"),s.find("li.selected").removeClass("selected")}),s.hover(function(){c=!0},function(){c=!1}),t(window).on({click:function(){i&&(c||g.trigger("close"))}}),i&&n.find("option:selected:not(:disabled)").each(function(){var e=t(this).index();toggleEntryFromArray(u,e,n),s.find("li").eq(e).find(":checkbox").prop("checked",!0)});var v=function(e,n,r){if(n){e.find("li.selected").removeClass("selected");var o=t(n);o.addClass("selected"),i&&!r||s.scrollTo(o)}},m=[],y=function(e){if(9==e.which)return void g.trigger("close");if(40==e.which&&!s.is(":visible"))return void g.trigger("open");if(13!=e.which||s.is(":visible")){e.preventDefault();var n=String.fromCharCode(e.which).toLowerCase(),r=[9,13,27,38,40];if(n&&-1===r.indexOf(e.which)){m.push(n);var o=m.join(""),a=s.find("li").filter(function(){return 0===t(this).text().toLowerCase().indexOf(o)})[0];a&&v(s,a)}if(13==e.which){var l=s.find("li.selected:not(.disabled)")[0];l&&(t(l).trigger("click"),i||g.trigger("close"))}40==e.which&&(a=s.find("li.selected").length?s.find("li.selected").next("li:not(.disabled)")[0]:s.find("li:not(.disabled)")[0],v(s,a)),27==e.which&&g.trigger("close"),38==e.which&&(a=s.find("li.selected").prev("li:not(.disabled)")[0])&&v(s,a),setTimeout(function(){m=[]},1e3)}};g.on("keydown",y)}})}}(C),function(t){var e={init:function(e){var n={indicators:!0,height:400,transition:500,interval:6e3};return e=t.extend(n,e),this.each(function(){function captionTransition(t,e){t.hasClass("center-align")?t.velocity({opacity:0,translateY:-100},{duration:e,queue:!1}):t.hasClass("right-align")?t.velocity({opacity:0,translateX:100},{duration:e,queue:!1}):t.hasClass("left-align")&&t.velocity({opacity:0,translateX:-100},{duration:e,queue:!1})}function moveToSlide(t){t>=s.length?t=0:t<0&&(t=s.length-1),(l=a.find(".active").index())!=t&&(n=s.eq(l),$caption=n.find(".caption"),n.removeClass("active"),n.velocity({opacity:0},{duration:e.transition,queue:!1,easing:"easeOutQuad",complete:function(){s.not(".active").velocity({opacity:0,translateX:0,translateY:0},{duration:0,queue:!1})}}),captionTransition($caption,e.transition),e.indicators&&i.eq(l).removeClass("active"),s.eq(t).velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),s.eq(t).find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,delay:e.transition,queue:!1,easing:"easeOutQuad"}),s.eq(t).addClass("active"),e.indicators&&i.eq(t).addClass("active"))}var n,i,r,o=t(this),a=o.find("ul.slides").first(),s=a.find("> li"),l=a.find(".active").index();-1!=l&&(n=s.eq(l)),o.hasClass("fullscreen")||(e.indicators?o.height(e.height+40):o.height(e.height),a.height(e.height)),s.find(".caption").each(function(){captionTransition(t(this),0)}),s.find("img").each(function(){var e="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";t(this).attr("src")!==e&&(t(this).css("background-image","url("+t(this).attr("src")+")"),t(this).attr("src",e))}),e.indicators&&(i=t('<ul class="indicators"></ul>'),s.each(function(n){var o=t('<li class="indicator-item"></li>');o.click(function(){moveToSlide(a.parent().find(t(this)).index()),clearInterval(r),r=setInterval(function(){l=a.find(".active").index(),s.length==l+1?l=0:l+=1,moveToSlide(l)},e.transition+e.interval)}),i.append(o)}),o.append(i),i=o.find("ul.indicators").find("li.indicator-item")),n?n.show():(s.first().addClass("active").velocity({opacity:1},{duration:e.transition,queue:!1,easing:"easeOutQuad"}),l=0,n=s.eq(l),e.indicators&&i.eq(l).addClass("active")),n.find("img").each(function(){n.find(".caption").velocity({opacity:1,translateX:0,translateY:0},{duration:e.transition,queue:!1,easing:"easeOutQuad"})}),r=setInterval(function(){l=a.find(".active").index(),moveToSlide(l+1)},e.transition+e.interval);var u=!1,c=!1,d=!1;o.hammer({prevent_default:!1}).bind("pan",function(t){if("touch"===t.gesture.pointerType){clearInterval(r);var e=t.gesture.direction,n=t.gesture.deltaX,i=t.gesture.velocityX,l=t.gesture.velocityY;$curr_slide=a.find(".active"),Math.abs(i)>Math.abs(l)&&$curr_slide.velocity({translateX:n},{duration:50,queue:!1,easing:"easeOutQuad"}),4===e&&(n>o.innerWidth()/2||i<-.65)?d=!0:2===e&&(n<-1*o.innerWidth()/2||i>.65)&&(c=!0);var u;c&&(u=$curr_slide.next(),0===u.length&&(u=s.first()),u.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"})),d&&(u=$curr_slide.prev(),0===u.length&&(u=s.last()),u.velocity({opacity:1},{duration:300,queue:!1,easing:"easeOutQuad"}))}}).bind("panend",function(t){"touch"===t.gesture.pointerType&&($curr_slide=a.find(".active"),u=!1,curr_index=a.find(".active").index(),!d&&!c||s.length<=1?$curr_slide.velocity({translateX:0},{duration:300,queue:!1,easing:"easeOutQuad"}):c?(moveToSlide(curr_index+1),$curr_slide.velocity({translateX:-1*o.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})):d&&(moveToSlide(curr_index-1),$curr_slide.velocity({translateX:o.innerWidth()},{duration:300,queue:!1,easing:"easeOutQuad",complete:function(){$curr_slide.velocity({opacity:0,translateX:0},{duration:0,queue:!1})}})),c=!1,d=!1,clearInterval(r),r=setInterval(function(){l=a.find(".active").index(),s.length==l+1?l=0:l+=1,moveToSlide(l)},e.transition+e.interval))}),o.on("sliderPause",function(){clearInterval(r)}),o.on("sliderStart",function(){clearInterval(r),r=setInterval(function(){l=a.find(".active").index(),s.length==l+1?l=0:l+=1,moveToSlide(l)},e.transition+e.interval)}),o.on("sliderNext",function(){l=a.find(".active").index(),moveToSlide(l+1)}),o.on("sliderPrev",function(){l=a.find(".active").index(),moveToSlide(l-1)})})},pause:function(){t(this).trigger("sliderPause")},start:function(){t(this).trigger("sliderStart")},next:function(){t(this).trigger("sliderNext")},prev:function(){t(this).trigger("sliderPrev")}};t.fn.slider=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.tooltip"):e.init.apply(this,arguments)}}(C),function(t){t(document).ready(function(){t(document).on("click.card",".card",function(e){t(this).find("> .card-reveal").length&&(t(e.target).is(t(".card-reveal .card-title"))||t(e.target).is(t(".card-reveal .card-title i"))?t(this).find(".card-reveal").velocity({translateY:0},{duration:225,queue:!1,easing:"easeInOutQuad",complete:function(){t(this).css({display:"none"})}}):(t(e.target).is(t(".card .activator"))||t(e.target).is(t(".card .activator i")))&&(t(e.target).closest(".card").css("overflow","hidden"),t(this).find(".card-reveal").css({display:"block"}).velocity("stop",!1).velocity({translateY:"-100%"},{duration:300,queue:!1,easing:"easeInOutQuad"})))})})}(C),function(t){var e={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{}};t(document).ready(function(){t(document).on("click",".chip .close",function(e){t(this).closest(".chips").attr("data-initialized")||t(this).closest(".chip").remove()})}),t.fn.material_chip=function(n){var i=this;if(this.$el=t(this),this.$document=t(document),this.SELS={CHIPS:".chips",CHIP:".chip",INPUT:"input",DELETE:".material-icons",SELECTED_CHIP:".selected"},"data"===n)return this.$el.data("chips");var r=t.extend({},e,n);i.hasAutocomplete=!t.isEmptyObject(r.autocompleteOptions.data),this.init=function(){var e=0;i.$el.each(function(){var n=t(this),o=Materialize.guid();i.chipId=o,r.data&&r.data instanceof Array||(r.data=[]),n.data("chips",r.data),n.attr("data-index",e),n.attr("data-initialized",!0),n.hasClass(i.SELS.CHIPS)||n.addClass("chips"),i.chips(n,o),e++})},this.handleEvents=function(){var e=i.SELS;i.$document.off("click.chips-focus",e.CHIPS).on("click.chips-focus",e.CHIPS,function(n){t(n.target).find(e.INPUT).focus()}),i.$document.off("click.chips-select",e.CHIP).on("click.chips-select",e.CHIP,function(n){var r=t(n.target);if(r.length){var o=r.hasClass("selected"),a=r.closest(e.CHIPS);t(e.CHIP).removeClass("selected"),o||i.selectChip(r.index(),a)}}),i.$document.off("keydown.chips").on("keydown.chips",function(n){if(!t(n.target).is("input, textarea")){var r,o=i.$document.find(e.CHIP+e.SELECTED_CHIP),a=o.closest(e.CHIPS),s=o.siblings(e.CHIP).length;if(o.length)if(8===n.which||46===n.which){n.preventDefault(),r=o.index(),i.deleteChip(r,a);var l=null;r+1<s?l=r:r!==s&&r+1!==s||(l=s-1),l<0&&(l=null),null!==l&&i.selectChip(l,a),s||a.find("input").focus()}else if(37===n.which){if((r=o.index()-1)<0)return;t(e.CHIP).removeClass("selected"),i.selectChip(r,a)}else if(39===n.which){if(r=o.index()+1,t(e.CHIP).removeClass("selected"),r>s)return void a.find("input").focus();i.selectChip(r,a)}}}),i.$document.off("focusin.chips",e.CHIPS+" "+e.INPUT).on("focusin.chips",e.CHIPS+" "+e.INPUT,function(n){var i=t(n.target).closest(e.CHIPS);i.addClass("focus"),i.siblings("label, .prefix").addClass("active"),t(e.CHIP).removeClass("selected")}),i.$document.off("focusout.chips",e.CHIPS+" "+e.INPUT).on("focusout.chips",e.CHIPS+" "+e.INPUT,function(n){var i=t(n.target).closest(e.CHIPS);i.removeClass("focus"),i.data("chips").length||i.siblings("label").removeClass("active"),i.siblings(".prefix").removeClass("active")}),i.$document.off("keydown.chips-add",e.CHIPS+" "+e.INPUT).on("keydown.chips-add",e.CHIPS+" "+e.INPUT,function(n){var r=t(n.target),o=r.closest(e.CHIPS),a=o.children(e.CHIP).length;if(13===n.which){if(i.hasAutocomplete&&o.find(".autocomplete-content.dropdown-content").length&&o.find(".autocomplete-content.dropdown-content").children().length)return;return n.preventDefault(),i.addChip({tag:r.val()},o),void r.val("")}if((8===n.keyCode||37===n.keyCode)&&""===r.val()&&a)return n.preventDefault(),i.selectChip(a-1,o),void r.blur()}),i.$document.off("click.chips-delete",e.CHIPS+" "+e.DELETE).on("click.chips-delete",e.CHIPS+" "+e.DELETE,function(n){var r=t(n.target),o=r.closest(e.CHIPS),a=r.closest(e.CHIP);n.stopPropagation(),i.deleteChip(a.index(),o),o.find("input").focus()})},this.chips=function(e,n){e.empty(),e.data("chips").forEach(function(t){e.append(i.renderChip(t))}),e.append(t('<input id="'+n+'" class="input" placeholder="">')),i.setPlaceholder(e);var o=e.next("label");o.length&&(o.attr("for",n),e.data("chips").length&&o.addClass("active"));var a=t("#"+n);i.hasAutocomplete&&(r.autocompleteOptions.onAutocomplete=function(t){i.addChip({tag:t},e),a.val(""),a.focus()},a.autocomplete(r.autocompleteOptions))},this.renderChip=function(e){if(e.tag){var n=t('<div class="chip"></div>');return n.text(e.tag),n.append(t('<i class="material-icons close">close</i>')),n}},this.setPlaceholder=function(t){t.data("chips").length&&r.placeholder?t.find("input").prop("placeholder",r.placeholder):!t.data("chips").length&&r.secondaryPlaceholder&&t.find("input").prop("placeholder",r.secondaryPlaceholder)},this.isValid=function(t,e){for(var n=t.data("chips"),i=!1,r=0;r<n.length;r++)if(n[r].tag===e.tag)return void(i=!0);return""!==e.tag&&!i},this.addChip=function(t,e){if(i.isValid(e,t)){for(var n=i.renderChip(t),r=[],o=e.data("chips"),a=0;a<o.length;a++)r.push(o[a]);r.push(t),e.data("chips",r),n.insertBefore(e.find("input")),e.trigger("chip.add",t),i.setPlaceholder(e)}},this.deleteChip=function(t,e){var n=e.data("chips")[t];e.find(".chip").eq(t).remove();for(var r=[],o=e.data("chips"),a=0;a<o.length;a++)a!==t&&r.push(o[a]);e.data("chips",r),e.trigger("chip.delete",n),i.setPlaceholder(e)},this.selectChip=function(t,e){var n=e.find(".chip").eq(t);n&&!1===n.hasClass("selected")&&(n.addClass("selected"),e.trigger("chip.select",e.data("chips")[t]))},this.getChipsElement=function(t,e){return e.eq(t)},this.init(),this.handleEvents()}}(C),function(t){t.fn.pushpin=function(e){var n={top:0,bottom:1/0,offset:0};return"remove"===e?(this.each(function(){(id=t(this).data("pushpin-id"))&&(t(window).off("scroll."+id),t(this).removeData("pushpin-id").removeClass("pin-top pinned pin-bottom").removeAttr("style"))}),!1):(e=t.extend(n,e),$index=0,this.each(function(){function removePinClasses(t){t.removeClass("pin-top"),t.removeClass("pinned"),t.removeClass("pin-bottom")}function updateElements(n,i){n.each(function(){e.top<=i&&e.bottom>=i&&!t(this).hasClass("pinned")&&(removePinClasses(t(this)),t(this).css("top",e.offset),t(this).addClass("pinned")),i<e.top&&!t(this).hasClass("pin-top")&&(removePinClasses(t(this)),t(this).css("top",0),t(this).addClass("pin-top")),i>e.bottom&&!t(this).hasClass("pin-bottom")&&(removePinClasses(t(this)),t(this).addClass("pin-bottom"),t(this).css("top",e.bottom-r))})}var n=Materialize.guid(),i=t(this),r=t(this).offset().top;t(this).data("pushpin-id",n),updateElements(i,t(window).scrollTop()),t(window).on("scroll."+n,function(){var n=t(window).scrollTop()+e.offset;updateElements(i,n)})}))}}(C),function(t){t(document).ready(function(){t.fn.reverse=[].reverse,t(document).on("mouseenter.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(n){var i=t(this);e(i)}),t(document).on("mouseleave.fixedActionBtn",".fixed-action-btn:not(.click-to-toggle):not(.toolbar)",function(e){var i=t(this);n(i)}),t(document).on("click.fabClickToggle",".fixed-action-btn.click-to-toggle > a",function(i){var r=t(this),o=r.parent();o.hasClass("active")?n(o):e(o)}),t(document).on("click.fabToolbar",".fixed-action-btn.toolbar > a",function(e){var n=t(this),r=n.parent();i(r)})}),t.fn.extend({openFAB:function(){e(t(this))},closeFAB:function(){n(t(this))},openToolbar:function(){i(t(this))},closeToolbar:function(){r(t(this))}});var e=function(e){var n=e;if(!1===n.hasClass("active")){var i,r,o=n.hasClass("horizontal");!0===o?r=40:i=40,n.addClass("active"),n.find("ul .btn-floating").velocity({scaleY:".4",scaleX:".4",translateY:i+"px",translateX:r+"px"},{duration:0});var a=0;n.find("ul .btn-floating").reverse().each(function(){t(this).velocity({opacity:"1",scaleX:"1",scaleY:"1",translateY:"0",translateX:"0"},{duration:80,delay:a}),a+=40})}},n=function(t){var e,n,i=t,r=i.hasClass("horizontal");!0===r?n=40:e=40,i.removeClass("active");i.find("ul .btn-floating").velocity("stop",!0),i.find("ul .btn-floating").velocity({opacity:"0",scaleX:".4",scaleY:".4",translateY:e+"px",translateX:n+"px"},{duration:80})},i=function(e){if("true"!==e.attr("data-open")){var n,i,o,a=window.innerWidth,s=window.innerHeight,l=e[0].getBoundingClientRect(),u=e.find("> a").first(),c=e.find("> ul").first(),d=t('<div class="fab-backdrop"></div>'),f=u.css("background-color");u.append(d),n=l.left-a/2+l.width/2,i=s-l.bottom,o=a/d.width(),e.attr("data-origin-bottom",l.bottom),e.attr("data-origin-left",l.left),e.attr("data-origin-width",l.width),e.addClass("active"),e.attr("data-open",!0),e.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+n+"px)",transition:"none"}),u.css({transform:"translateY("+-i+"px)",transition:"none"}),d.css({"background-color":f}),setTimeout(function(){e.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),u.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout(function(){e.css({overflow:"hidden","background-color":f}),d.css({transform:"scale("+o+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),c.find("> li > a").css({opacity:1}),t(window).on("scroll.fabToolbarClose",function(){r(e),t(window).off("scroll.fabToolbarClose"),t(document).off("click.fabToolbarClose")}),t(document).on("click.fabToolbarClose",function(n){t(n.target).closest(c).length||(r(e),t(window).off("scroll.fabToolbarClose"),t(document).off("click.fabToolbarClose"))})},100)},0)}},r=function(t){if("true"===t.attr("data-open")){var e,n,i=window.innerWidth,r=window.innerHeight,o=t.attr("data-origin-width"),a=t.attr("data-origin-bottom"),s=t.attr("data-origin-left"),l=t.find("> .btn-floating").first(),u=t.find("> ul").first(),c=t.find(".fab-backdrop"),d=l.css("background-color");e=s-i/2+o/2,n=r-a,i/c.width(),t.removeClass("active"),t.attr("data-open",!1),t.css({"background-color":"transparent",transition:"none"}),l.css({transition:"none"}),c.css({transform:"scale(0)","background-color":d}),u.find("> li > a").css({opacity:""}),setTimeout(function(){c.remove(),t.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-e+"px,0,0)"}),l.css({overflow:"",transform:"translate3d(0,"+n+"px,0)"}),setTimeout(function(){t.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),l.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})},20)},200)}}}(C),function(t){Materialize.fadeInImage=function(e){var n;if("string"==typeof e)n=t(e);else{if("object"!=typeof e)return;n=e}n.css({opacity:0}),t(n).velocity({opacity:1},{duration:650,queue:!1,easing:"easeOutSine"}),t(n).velocity({opacity:1},{duration:1300,queue:!1,easing:"swing",step:function(e,n){n.start=100;var i=e/100,r=150-(100-e)/1.75;r<100&&(r=100),e>=0&&t(this).css({"-webkit-filter":"grayscale("+i+")brightness("+r+"%)",filter:"grayscale("+i+")brightness("+r+"%)"})}})},Materialize.showStaggeredList=function(e){var n;if("string"==typeof e)n=t(e);else{if("object"!=typeof e)return;n=e}var i=0;n.find("li").velocity({translateX:"-100px"},{duration:0}),n.find("li").each(function(){t(this).velocity({opacity:"1",translateX:"0"},{duration:800,delay:i,easing:[60,10]}),i+=120})},t(document).ready(function(){var e=!1,n=!1;t(".dismissable").each(function(){t(this).hammer({prevent_default:!1}).bind("pan",function(i){if("touch"===i.gesture.pointerType){var r=t(this),o=i.gesture.direction,a=i.gesture.deltaX,s=i.gesture.velocityX;r.velocity({translateX:a},{duration:50,queue:!1,easing:"easeOutQuad"}),4===o&&(a>r.innerWidth()/2||s<-.75)&&(e=!0),2===o&&(a<-1*r.innerWidth()/2||s>.75)&&(n=!0)}}).bind("panend",function(i){if(Math.abs(i.gesture.deltaX)<t(this).innerWidth()/2&&(n=!1,e=!1),"touch"===i.gesture.pointerType){var r=t(this);if(e||n){var o;o=e?r.innerWidth():-1*r.innerWidth(),r.velocity({translateX:o},{duration:100,queue:!1,easing:"easeOutQuad",complete:function(){r.css("border","none"),r.velocity({height:0,padding:0},{duration:200,queue:!1,easing:"easeOutQuad",complete:function(){r.remove()}})}})}else r.velocity({translateX:0},{duration:100,queue:!1,easing:"easeOutQuad"});e=!1,n=!1}})})})}(C),function(t){var e=!1;Materialize.scrollFire=function(t){var n=function(){for(var e=window.pageYOffset+window.innerHeight,n=0;n<t.length;n++){var i=t[n],r=i.selector,o=i.offset,a=i.callback,s=document.querySelector(r);if(null!==s){if(e>s.getBoundingClientRect().top+window.pageYOffset+o&&!0!==i.done){if("function"==typeof a)a.call(this,s);else if("string"==typeof a){var l=new Function(a);l(s)}i.done=!0}}}},i=Materialize.throttle(function(){n()},t.throttle||100);e||(window.addEventListener("scroll",i),window.addEventListener("resize",i),e=!0),setTimeout(i,0)}}(),function(t){b=[a(0)],h=t,T="function"==typeof h?h.apply(i,b):h}(function(t){function PickerConstructor(e,r,o,a){function createWrappedComponent(){return PickerConstructor._.node("div",PickerConstructor._.node("div",PickerConstructor._.node("div",PickerConstructor._.node("div",h.component.nodes(l.open),c.box),c.wrap),c.frame),c.holder)}function prepareElement(){d.data(r,h).addClass(c.input).attr("tabindex",-1).val(d.data("value")?h.get("select",u.format):e.value),u.editable||d.on("focus."+l.id+" click."+l.id,function(t){t.preventDefault(),h.$root.eq(0).focus()}).on("keydown."+l.id,handleKeydownEvent),aria(e,{haspopup:!0,expanded:!1,readonly:!1,owns:e.id+"_root"})}function prepareElementRoot(){h.$root.on({keydown:handleKeydownEvent,focusin:function(t){h.$root.removeClass(c.focused),t.stopPropagation()},"mousedown click":function(e){var n=e.target;n!=h.$root.children()[0]&&(e.stopPropagation(),"mousedown"!=e.type||t(n).is("input, select, textarea, button, option")||(e.preventDefault(),h.$root.eq(0).focus()))}}).on({focus:function(){d.addClass(c.target)},blur:function(){d.removeClass(c.target)}}).on("focus.toOpen",handleFocusToOpenEvent).on("click","[data-pick], [data-nav], [data-clear], [data-close]",function(){var e=t(this),n=e.data(),i=e.hasClass(c.navDisabled)||e.hasClass(c.disabled),r=getActiveElement();r=r&&(r.type||r.href),(i||r&&!t.contains(h.$root[0],r))&&h.$root.eq(0).focus(),!i&&n.nav?h.set("highlight",h.component.item.highlight,{nav:n.nav}):!i&&"pick"in n?h.set("select",n.pick):n.clear?h.clear().close(!0):n.close&&h.close(!0)}),aria(h.$root[0],"hidden",!0)}function prepareElementHidden(){var n;!0===u.hiddenName?(n=e.name,e.name=""):(n=["string"==typeof u.hiddenPrefix?u.hiddenPrefix:"","string"==typeof u.hiddenSuffix?u.hiddenSuffix:"_submit"],n=n[0]+e.name+n[1]),h._hidden=t('<input type=hidden name="'+n+'"'+(d.data("value")||e.value?' value="'+h.get("select",u.formatSubmit)+'"':"")+">")[0],d.on("change."+l.id,function(){h._hidden.value=e.value?h.get("select",u.formatSubmit):""}),u.container?t(u.container).append(h._hidden):d.after(h._hidden)}function handleKeydownEvent(t){var e=t.keyCode,n=/^(8|46)$/.test(e);if(27==e)return h.close(),!1;(32==e||n||!l.open&&h.component.key[e])&&(t.preventDefault(),t.stopPropagation(),n?h.clear().close():h.open())}function handleFocusToOpenEvent(t){t.stopPropagation(),"focus"==t.type&&h.$root.addClass(c.focused),h.open()}if(!e)return PickerConstructor;var s=!1,l={id:e.id||"P"+Math.abs(~~(Math.random()*new Date))},u=o?t.extend(!0,{},o.defaults,a):a||{},c=t.extend({},PickerConstructor.klasses(),u.klass),d=t(e),f=function(){return this.start()},h=f.prototype={constructor:f,$node:d,start:function(){return l&&l.start?h:(l.methods={},l.start=!0,l.open=!1,l.type=e.type,e.autofocus=e==getActiveElement(),e.readOnly=!u.editable,e.id=e.id||l.id,"text"!=e.type&&(e.type="text"),h.component=new o(h,u),h.$root=t(PickerConstructor._.node("div",createWrappedComponent(),c.picker,'id="'+e.id+'_root" tabindex="0"')),prepareElementRoot(),u.formatSubmit&&prepareElementHidden(),prepareElement(),u.container?t(u.container).append(h.$root):d.after(h.$root),h.on({start:h.component.onStart,render:h.component.onRender,stop:h.component.onStop,open:h.component.onOpen,close:h.component.onClose,set:h.component.onSet}).on({start:u.onStart,render:u.onRender,stop:u.onStop,open:u.onOpen,close:u.onClose,set:u.onSet}),s=isUsingDefaultTheme(h.$root.children()[0]),e.autofocus&&h.open(),h.trigger("start").trigger("render"))},render:function(t){return t?h.$root.html(createWrappedComponent()):h.$root.find("."+c.box).html(h.component.nodes(l.open)),h.trigger("render")},stop:function(){return l.start?(h.close(),h._hidden&&h._hidden.parentNode.removeChild(h._hidden),h.$root.remove(),d.removeClass(c.input).removeData(r),setTimeout(function(){d.off("."+l.id)},0),e.type=l.type,e.readOnly=!1,h.trigger("stop"),l.methods={},l.start=!1,h):h},open:function(r){return l.open?h:(d.addClass(c.active),aria(e,"expanded",!0),setTimeout(function(){h.$root.addClass(c.opened),aria(h.$root[0],"hidden",!1)},0),!1!==r&&(l.open=!0,s&&i.css("overflow","hidden").css("padding-right","+="+getScrollbarWidth()),h.$root.eq(0).focus(),n.on("click."+l.id+" focusin."+l.id,function(t){var n=t.target;n!=e&&n!=document&&3!=t.which&&h.close(n===h.$root.children()[0])}).on("keydown."+l.id,function(e){var n=e.keyCode,i=h.component.key[n],r=e.target;27==n?h.close(!0):r!=h.$root[0]||!i&&13!=n?t.contains(h.$root[0],r)&&13==n&&(e.preventDefault(),r.click()):(e.preventDefault(),i?PickerConstructor._.trigger(h.component.key.go,h,[PickerConstructor._.trigger(i)]):h.$root.find("."+c.highlighted).hasClass(c.disabled)||h.set("select",h.component.item.highlight).close())})),h.trigger("open"))},close:function(t){return t&&(h.$root.off("focus.toOpen").eq(0).focus(),setTimeout(function(){h.$root.on("focus.toOpen",handleFocusToOpenEvent)},0)),d.removeClass(c.active),aria(e,"expanded",!1),setTimeout(function(){h.$root.removeClass(c.opened+" "+c.focused),aria(h.$root[0],"hidden",!0)},0),l.open?(l.open=!1,s&&i.css("overflow","").css("padding-right","-="+getScrollbarWidth()),n.off("."+l.id),h.trigger("close")):h},clear:function(t){return h.set("clear",null,t)},set:function(e,n,i){var r,o,a=t.isPlainObject(e),s=a?e:{};if(i=a&&t.isPlainObject(n)?n:i||{},e){a||(s[e]=n);for(r in s)o=s[r],r in h.component.item&&(void 0===o&&(o=null),h.component.set(r,o,i)),"select"!=r&&"clear"!=r||d.val("clear"==r?"":h.get(r,u.format)).trigger("change");h.render()}return i.muted?h:h.trigger("set",s)},get:function(t,n){if(t=t||"value",null!=l[t])return l[t];if("valueSubmit"==t){if(h._hidden)return h._hidden.value;t="value"}if("value"==t)return e.value;if(t in h.component.item){if("string"==typeof n){var i=h.component.get(t);return i?PickerConstructor._.trigger(h.component.formats.toString,h.component,[n,i]):""}return h.component.get(t)}},on:function(e,n,i){var r,o,a=t.isPlainObject(e),s=a?e:{};if(e){a||(s[e]=n);for(r in s)o=s[r],i&&(r="_"+r),l.methods[r]=l.methods[r]||[],l.methods[r].push(o)}return h},off:function(){var t,e,n=arguments;for(t=0,namesCount=n.length;t<namesCount;t+=1)(e=n[t])in l.methods&&delete l.methods[e];return h},trigger:function(t,e){var n=function(t){var n=l.methods[t];n&&n.map(function(t){PickerConstructor._.trigger(t,h,[e])})};return n("_"+t),n(t),h}};return new f}function isUsingDefaultTheme(t){var e;return t.currentStyle?e=t.currentStyle.position:window.getComputedStyle&&(e=getComputedStyle(t).position),"fixed"==e}function getScrollbarWidth(){if(i.height()<=e.height())return 0;var n=t('<div style="visibility:hidden;width:100px" />').appendTo("body"),r=n[0].offsetWidth;n.css("overflow","scroll");var o=t('<div style="width:100%" />').appendTo(n),a=o[0].offsetWidth;return n.remove(),r-a}function aria(e,n,i){if(t.isPlainObject(n))for(var r in n)ariaSet(e,r,n[r]);else ariaSet(e,n,i)}function ariaSet(t,e,n){t.setAttribute(("role"==e?"":"aria-")+e,n)}function ariaAttr(e,n){t.isPlainObject(e)||(e={attribute:n}),n="";for(var i in e){var r=("role"==i?"":"aria-")+i;n+=null==e[i]?"":r+'="'+e[i]+'"'}return n}function getActiveElement(){try{return document.activeElement}catch(t){}}var e=t(window),n=t(document),i=t(document.documentElement);return PickerConstructor.klasses=function(t){return t=t||"picker",{picker:t,opened:t+"--opened",focused:t+"--focused",input:t+"__input",active:t+"__input--active",target:t+"__input--target",holder:t+"__holder",frame:t+"__frame",wrap:t+"__wrap",box:t+"__box"}},PickerConstructor._={group:function(t){for(var e,n="",i=PickerConstructor._.trigger(t.min,t);i<=PickerConstructor._.trigger(t.max,t,[i]);i+=t.i)e=PickerConstructor._.trigger(t.item,t,[i]),n+=PickerConstructor._.node(t.node,e[0],e[1],e[2]);return n},node:function(e,n,i,r){return n?(n=t.isArray(n)?n.join(""):n,i=i?' class="'+i+'"':"",r=r?" "+r:"","<"+e+i+r+">"+n+"</"+e+">"):""},lead:function(t){return(t<10?"0":"")+t},trigger:function(t,e,n){return"function"==typeof t?t.apply(e,n||[]):t},digits:function(t){return/\d/.test(t[1])?2:1},isDate:function(t){return{}.toString.call(t).indexOf("Date")>-1&&this.isInteger(t.getDate())},isInteger:function(t){return{}.toString.call(t).indexOf("Number")>-1&&t%1==0},ariaAttr:ariaAttr},PickerConstructor.extend=function(e,n){t.fn[e]=function(i,r){var o=this.data(e);return"picker"==i?o:o&&"string"==typeof i?PickerConstructor._.trigger(o[i],o,[r]):this.each(function(){t(this).data(e)||new PickerConstructor(this,e,n,i)})},t.fn[e].defaults=n.defaults},PickerConstructor}),function(t){b=[T,a(0)],h=t,void 0!==(g="function"==typeof h?h.apply(i,b):h)&&(e.exports=g)}(function(t,e){function DatePicker(t,e){var n=this,i=t.$node[0],r=i.value,o=t.$node.data("value"),a=o||r,s=o?e.formatSubmit:e.format,l=function(){return i.currentStyle?"rtl"==i.currentStyle.direction:"rtl"==getComputedStyle(t.$root[0]).direction};n.settings=e,n.$node=t.$node,n.queue={min:"measure create",max:"measure create",now:"now create",select:"parse create validate",highlight:"parse navigate create validate",view:"parse create validate viewset",disable:"deactivate",enable:"activate"},n.item={},n.item.clear=null,n.item.disable=(e.disable||[]).slice(0),n.item.enable=-function(t){return!0===t[0]?t.shift():-1}(n.item.disable),n.set("min",e.min).set("max",e.max).set("now"),a?n.set("select",a,{format:s}):n.set("select",null).set("highlight",n.item.now),n.key={40:7,38:-7,39:function(){return l()?-1:1},37:function(){return l()?1:-1},go:function(t){var e=n.item.highlight,i=new Date(e.year,e.month,e.date+t);n.set("highlight",i,{interval:t}),this.render()}},t.on("render",function(){t.$root.find("."+e.klass.selectMonth).on("change",function(){var n=this.value;n&&(t.set("highlight",[t.get("view").year,n,t.get("highlight").date]),t.$root.find("."+e.klass.selectMonth).trigger("focus"))}),t.$root.find("."+e.klass.selectYear).on("change",function(){var n=this.value;n&&(t.set("highlight",[n,t.get("view").month,t.get("highlight").date]),t.$root.find("."+e.klass.selectYear).trigger("focus"))})},1).on("open",function(){var i="";n.disabled(n.get("now"))&&(i=":not(."+e.klass.buttonToday+")"),t.$root.find("button"+i+", select").attr("disabled",!1)},1).on("close",function(){t.$root.find("button, select").attr("disabled",!0)},1)}var n=t._;DatePicker.prototype.set=function(t,e,n){var i=this,r=i.item;return null===e?("clear"==t&&(t="select"),r[t]=e,i):(r["enable"==t?"disable":"flip"==t?"enable":t]=i.queue[t].split(" ").map(function(r){return e=i[r](t,e,n)}).pop(),"select"==t?i.set("highlight",r.select,n):"highlight"==t?i.set("view",r.highlight,n):t.match(/^(flip|min|max|disable|enable)$/)&&(r.select&&i.disabled(r.select)&&i.set("select",r.select,n),r.highlight&&i.disabled(r.highlight)&&i.set("highlight",r.highlight,n)),i)},DatePicker.prototype.get=function(t){return this.item[t]},DatePicker.prototype.create=function(t,i,r){var o,a=this;return i=void 0===i?t:i,i==-1/0||i==1/0?o=i:e.isPlainObject(i)&&n.isInteger(i.pick)?i=i.obj:e.isArray(i)?(i=new Date(i[0],i[1],i[2]),i=n.isDate(i)?i:a.create().obj):i=n.isInteger(i)||n.isDate(i)?a.normalize(new Date(i),r):a.now(t,i,r),{year:o||i.getFullYear(),month:o||i.getMonth(),date:o||i.getDate(),day:o||i.getDay(),obj:o||i,pick:o||i.getTime()}},DatePicker.prototype.createRange=function(t,i){var r=this,o=function(t){return!0===t||e.isArray(t)||n.isDate(t)?r.create(t):t};return n.isInteger(t)||(t=o(t)),n.isInteger(i)||(i=o(i)),n.isInteger(t)&&e.isPlainObject(i)?t=[i.year,i.month,i.date+t]:n.isInteger(i)&&e.isPlainObject(t)&&(i=[t.year,t.month,t.date+i]),{from:o(t),to:o(i)}},DatePicker.prototype.withinRange=function(t,e){return t=this.createRange(t.from,t.to),e.pick>=t.from.pick&&e.pick<=t.to.pick},DatePicker.prototype.overlapRanges=function(t,e){var n=this;return t=n.createRange(t.from,t.to),e=n.createRange(e.from,e.to),n.withinRange(t,e.from)||n.withinRange(t,e.to)||n.withinRange(e,t.from)||n.withinRange(e,t.to)},DatePicker.prototype.now=function(t,e,n){return e=new Date,n&&n.rel&&e.setDate(e.getDate()+n.rel),this.normalize(e,n)},DatePicker.prototype.navigate=function(t,n,i){var r,o,a,s,l=e.isArray(n),u=e.isPlainObject(n),c=this.item.view;if(l||u){for(u?(o=n.year,a=n.month,s=n.date):(o=+n[0],a=+n[1],s=+n[2]),i&&i.nav&&c&&c.month!==a&&(o=c.year,a=c.month),r=new Date(o,a+(i&&i.nav?i.nav:0),1),o=r.getFullYear(),a=r.getMonth();new Date(o,a,s).getMonth()!==a;)s-=1;n=[o,a,s]}return n},DatePicker.prototype.normalize=function(t){return t.setHours(0,0,0,0),t},DatePicker.prototype.measure=function(t,e){var i=this;return e?"string"==typeof e?e=i.parse(t,e):n.isInteger(e)&&(e=i.now(t,e,{rel:e})):e="min"==t?-1/0:1/0,e},DatePicker.prototype.viewset=function(t,e){return this.create([e.year,e.month,1])},DatePicker.prototype.validate=function(t,i,r){var o,a,s,l,u=this,c=i,d=r&&r.interval?r.interval:1,f=-1===u.item.enable,h=u.item.min,p=u.item.max,g=f&&u.item.disable.filter(function(t){if(e.isArray(t)){var r=u.create(t).pick;r<i.pick?o=!0:r>i.pick&&(a=!0)}return n.isInteger(t)}).length;if((!r||!r.nav)&&(!f&&u.disabled(i)||f&&u.disabled(i)&&(g||o||a)||!f&&(i.pick<=h.pick||i.pick>=p.pick)))for(f&&!g&&(!a&&d>0||!o&&d<0)&&(d*=-1);u.disabled(i)&&(Math.abs(d)>1&&(i.month<c.month||i.month>c.month)&&(i=c,d=d>0?1:-1),i.pick<=h.pick?(s=!0,d=1,i=u.create([h.year,h.month,h.date+(i.pick===h.pick?0:-1)])):i.pick>=p.pick&&(l=!0,d=-1,i=u.create([p.year,p.month,p.date+(i.pick===p.pick?0:1)])),!s||!l);)i=u.create([i.year,i.month,i.date+d]);return i},DatePicker.prototype.disabled=function(t){var i=this,r=i.item.disable.filter(function(r){return n.isInteger(r)?t.day===(i.settings.firstDay?r:r-1)%7:e.isArray(r)||n.isDate(r)?t.pick===i.create(r).pick:e.isPlainObject(r)?i.withinRange(r,t):void 0});return r=r.length&&!r.filter(function(t){return e.isArray(t)&&"inverted"==t[3]||e.isPlainObject(t)&&t.inverted}).length,-1===i.item.enable?!r:r||t.pick<i.item.min.pick||t.pick>i.item.max.pick},DatePicker.prototype.parse=function(t,e,i){var r=this,o={};return e&&"string"==typeof e?(i&&i.format||(i=i||{},i.format=r.settings.format),r.formats.toArray(i.format).map(function(t){var i=r.formats[t],a=i?n.trigger(i,r,[e,o]):t.replace(/^!/,"").length;i&&(o[t]=e.substr(0,a)),e=e.substr(a)}),[o.yyyy||o.yy,+(o.mm||o.m)-1,o.dd||o.d]):e},DatePicker.prototype.formats=function(){function getWordLengthFromCollection(t,e,n){var i=t.match(/\w+/)[0];return n.mm||n.m||(n.m=e.indexOf(i)+1),i.length}function getFirstWordLength(t){return t.match(/\w+/)[0].length}return{d:function(t,e){return t?n.digits(t):e.date},dd:function(t,e){return t?2:n.lead(e.date)},ddd:function(t,e){return t?getFirstWordLength(t):this.settings.weekdaysShort[e.day]},dddd:function(t,e){return t?getFirstWordLength(t):this.settings.weekdaysFull[e.day]},m:function(t,e){return t?n.digits(t):e.month+1},mm:function(t,e){return t?2:n.lead(e.month+1)},mmm:function(t,e){var n=this.settings.monthsShort;return t?getWordLengthFromCollection(t,n,e):n[e.month]},mmmm:function(t,e){var n=this.settings.monthsFull;return t?getWordLengthFromCollection(t,n,e):n[e.month]},yy:function(t,e){return t?2:(""+e.year).slice(2)},yyyy:function(t,e){return t?4:e.year},toArray:function(t){return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g)},toString:function(t,e){var i=this;return i.formats.toArray(t).map(function(t){return n.trigger(i.formats[t],i,[0,e])||t.replace(/^!/,"")}).join("")}}}(),DatePicker.prototype.isDateExact=function(t,i){var r=this;return n.isInteger(t)&&n.isInteger(i)||"boolean"==typeof t&&"boolean"==typeof i?t===i:(n.isDate(t)||e.isArray(t))&&(n.isDate(i)||e.isArray(i))?r.create(t).pick===r.create(i).pick:!(!e.isPlainObject(t)||!e.isPlainObject(i))&&(r.isDateExact(t.from,i.from)&&r.isDateExact(t.to,i.to))},DatePicker.prototype.isDateOverlap=function(t,i){var r=this,o=r.settings.firstDay?1:0;return n.isInteger(t)&&(n.isDate(i)||e.isArray(i))?(t=t%7+o)===r.create(i).day+1:n.isInteger(i)&&(n.isDate(t)||e.isArray(t))?(i=i%7+o)===r.create(t).day+1:!(!e.isPlainObject(t)||!e.isPlainObject(i))&&r.overlapRanges(t,i)},DatePicker.prototype.flipEnable=function(t){var e=this.item;e.enable=t||(-1==e.enable?1:-1)},DatePicker.prototype.deactivate=function(t,i){var r=this,o=r.item.disable.slice(0);return"flip"==i?r.flipEnable():!1===i?(r.flipEnable(1),o=[]):!0===i?(r.flipEnable(-1),o=[]):i.map(function(t){for(var i,a=0;a<o.length;a+=1)if(r.isDateExact(t,o[a])){i=!0;break}i||(n.isInteger(t)||n.isDate(t)||e.isArray(t)||e.isPlainObject(t)&&t.from&&t.to)&&o.push(t)}),o},DatePicker.prototype.activate=function(t,i){var r=this,o=r.item.disable,a=o.length;return"flip"==i?r.flipEnable():!0===i?(r.flipEnable(1),o=[]):!1===i?(r.flipEnable(-1),o=[]):i.map(function(t){var i,s,l,u;for(l=0;l<a;l+=1){if(s=o[l],r.isDateExact(s,t)){i=o[l]=null,u=!0;break}if(r.isDateOverlap(s,t)){e.isPlainObject(t)?(t.inverted=!0,i=t):e.isArray(t)?(i=t,i[3]||i.push("inverted")):n.isDate(t)&&(i=[t.getFullYear(),t.getMonth(),t.getDate(),"inverted"]);break}}if(i)for(l=0;l<a;l+=1)if(r.isDateExact(o[l],t)){o[l]=null;break}if(u)for(l=0;l<a;l+=1)if(r.isDateOverlap(o[l],t)){o[l]=null;break}i&&o.push(i)}),o.filter(function(t){return null!=t})},DatePicker.prototype.nodes=function(t){var e=this,i=e.settings,r=e.item,o=r.now,a=r.select,s=r.highlight,l=r.view,u=r.disable,c=r.min,d=r.max,f=function(t,e){return i.firstDay&&(t.push(t.shift()),e.push(e.shift())),n.node("thead",n.node("tr",n.group({min:0,max:6,i:1,node:"th",item:function(n){return[t[n],i.klass.weekdays,'scope=col title="'+e[n]+'"']}})))}((i.showWeekdaysFull?i.weekdaysFull:i.weekdaysLetter).slice(0),i.weekdaysFull.slice(0)),h=function(t){return n.node("div"," ",i.klass["nav"+(t?"Next":"Prev")]+(t&&l.year>=d.year&&l.month>=d.month||!t&&l.year<=c.year&&l.month<=c.month?" "+i.klass.navDisabled:""),"data-nav="+(t||-1)+" "+n.ariaAttr({role:"button",controls:e.$node[0].id+"_table"})+' title="'+(t?i.labelMonthNext:i.labelMonthPrev)+'"')},p=function(r){var o=i.showMonthsShort?i.monthsShort:i.monthsFull;return"short_months"==r&&(o=i.monthsShort),i.selectMonths&&void 0==r?n.node("select",n.group({min:0,max:11,i:1,node:"option",item:function(t){return[o[t],0,"value="+t+(l.month==t?" selected":"")+(l.year==c.year&&t<c.month||l.year==d.year&&t>d.month?" disabled":"")]}}),i.klass.selectMonth+" browser-default",(t?"":"disabled")+" "+n.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelMonthSelect+'"'):"short_months"==r?null!=a?n.node("div",o[a.month]):n.node("div",o[l.month]):n.node("div",o[l.month],i.klass.month)},g=function(r){var o=l.year,a=!0===i.selectYears?5:~~(i.selectYears/2);if(a){var s=c.year,u=d.year,f=o-a,h=o+a;if(s>f&&(h+=s-f,f=s),u<h){var p=f-s,g=h-u;f-=p>g?g:p,h=u}if(i.selectYears&&void 0==r)return n.node("select",n.group({min:f,max:h,i:1,node:"option",item:function(t){return[t,0,"value="+t+(o==t?" selected":"")]}}),i.klass.selectYear+" browser-default",(t?"":"disabled")+" "+n.ariaAttr({controls:e.$node[0].id+"_table"})+' title="'+i.labelYearSelect+'"')}return"raw"==r?n.node("div",o):n.node("div",o,i.klass.year)};return createDayLabel=function(){return null!=a?n.node("div",a.date):n.node("div",o.date)},createWeekdayLabel=function(){var t;return t=null!=a?a.day:o.day,i.weekdaysFull[t]},n.node("div",n.node("div",createWeekdayLabel(),"picker__weekday-display")+n.node("div",p("short_months"),i.klass.month_display)+n.node("div",createDayLabel(),i.klass.day_display)+n.node("div",g("raw"),i.klass.year_display),i.klass.date_display)+n.node("div",n.node("div",(i.selectYears,p()+g()+h()+h(1)),i.klass.header)+n.node("table",f+n.node("tbody",n.group({min:0,max:5,i:1,node:"tr",item:function(t){var r=i.firstDay&&0===e.create([l.year,l.month,1]).day?-7:0;return[n.group({min:7*t-l.day+r+1,max:function(){return this.min+7-1},i:1,node:"td",item:function(t){t=e.create([l.year,l.month,t+(i.firstDay?1:0)]);var r=a&&a.pick==t.pick,f=s&&s.pick==t.pick,h=u&&e.disabled(t)||t.pick<c.pick||t.pick>d.pick,p=n.trigger(e.formats.toString,e,[i.format,t]);return[n.node("div",t.date,function(e){return e.push(l.month==t.month?i.klass.infocus:i.klass.outfocus),o.pick==t.pick&&e.push(i.klass.now),r&&e.push(i.klass.selected),f&&e.push(i.klass.highlighted),h&&e.push(i.klass.disabled),e.join(" ")}([i.klass.day]),"data-pick="+t.pick+" "+n.ariaAttr({role:"gridcell",label:p,selected:!(!r||e.$node.val()!==p)||null,activedescendant:!!f||null,disabled:!!h||null})),"",n.ariaAttr({role:"presentation"})]}})]}})),i.klass.table,'id="'+e.$node[0].id+'_table" '+n.ariaAttr({role:"grid",controls:e.$node[0].id,readonly:!0})),i.klass.calendar_container)+n.node("div",n.node("button",i.today,"btn-flat picker__today","type=button data-pick="+o.pick+(t&&!e.disabled(o)?"":" disabled")+" "+n.ariaAttr({controls:e.$node[0].id}))+n.node("button",i.clear,"btn-flat picker__clear","type=button data-clear=1"+(t?"":" disabled")+" "+n.ariaAttr({controls:e.$node[0].id}))+n.node("button",i.close,"btn-flat picker__close","type=button data-close=true "+(t?"":" disabled")+" "+n.ariaAttr({controls:e.$node[0].id})),i.klass.footer)},DatePicker.defaults=function(t){return{labelMonthNext:"Next month",labelMonthPrev:"Previous month",labelMonthSelect:"Select a month",labelYearSelect:"Select a year",monthsFull:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdaysFull:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysLetter:["S","M","T","W","T","F","S"],today:"Today",clear:"Clear",close:"Close",format:"d mmmm, yyyy",klass:{table:t+"table",header:t+"header",date_display:t+"date-display",day_display:t+"day-display",month_display:t+"month-display",year_display:t+"year-display",calendar_container:t+"calendar-container",navPrev:t+"nav--prev",navNext:t+"nav--next",navDisabled:t+"nav--disabled",month:t+"month",year:t+"year",selectMonth:t+"select--month",selectYear:t+"select--year",weekdays:t+"weekday",day:t+"day",disabled:t+"day--disabled",selected:t+"day--selected",highlighted:t+"day--highlighted",now:t+"day--today",infocus:t+"day--infocus",outfocus:t+"day--outfocus",footer:t+"footer",buttonClear:t+"button--clear",buttonToday:t+"button--today",buttonClose:t+"button--close"}}}(t.klasses().picker+"__"),t.extend("pickadate",DatePicker)}),function(t){function updateCounter(){var e=+t(this).attr("data-length"),n=+t(this).val().length,i=n<=e;t(this).parent().find('span[class="character-counter"]').html(n+"/"+e),addInputStyle(i,t(this))}function addCounterElement(e){var n=e.parent().find('span[class="character-counter"]');n.length||(n=t("<span/>").addClass("character-counter").css("float","right").css("font-size","12px").css("height",1),e.parent().append(n))}function removeCounterElement(){t(this).parent().find('span[class="character-counter"]').html("")}function addInputStyle(t,e){var n=e.hasClass("invalid");t&&n?e.removeClass("invalid"):t||n||(e.removeClass("valid"),e.addClass("invalid"))}t.fn.characterCounter=function(){return this.each(function(){var e=t(this);e.parent().find('span[class="character-counter"]').length||void 0!==e.attr("data-length")&&(e.on("input",updateCounter),e.on("focus",updateCounter),e.on("blur",removeCounterElement),addCounterElement(e))})},t(document).ready(function(){t("input, textarea").characterCounter()})}(C),function(t){var e={init:function(e){var n={duration:200,dist:-100,shift:0,padding:0,fullWidth:!1,indicators:!1,noWrap:!1,onCycleTo:null};e=t.extend(n,e);var i=Materialize.objectSelectorString(t(this));return this.each(function(n){function xpos(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientX:t.clientX}function ypos(t){return t.targetTouches&&t.targetTouches.length>=1?t.targetTouches[0].clientY:t.clientY}function wrap(t){return t>=d?t%d:t<0?wrap(d+t%d):t}function scroll(n){m=!0,A.hasClass("scrolling")||A.addClass("scrolling"),null!=_&&window.clearTimeout(_),_=window.setTimeout(function(){m=!1,A.removeClass("scrolling")},e.duration);var i,u,f,h,p,g,v,y=l;if(s="number"==typeof n?n:s,l=Math.floor((s+c/2)/c),f=s-l*c,h=f<0?1:-1,p=-h*f*2/c,u=d>>1,e.fullWidth?v="translateX(0)":(v="translateX("+(A[0].clientWidth-o)/2+"px) ",v+="translateY("+(A[0].clientHeight-a)/2+"px)"),P){var w=l%d,x=S.find(".indicator-item.active");x.index()!==w&&(x.removeClass("active"),S.find(".indicator-item").eq(w).addClass("active"))}for((!e.noWrap||l>=0&&l<d)&&(g=r[wrap(l)],t(g).hasClass("active")||(A.find(".carousel-item").removeClass("active"),t(g).addClass("active")),g.style[b]=v+" translateX("+-f/2+"px) translateX("+h*e.shift*p*i+"px) translateZ("+e.dist*p+"px)",g.style.zIndex=0,e.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*p,g.style.opacity=tweenedOpacity,g.style.display="block"),i=1;i<=u;++i)e.fullWidth?(zTranslation=e.dist,tweenedOpacity=i===u&&f<0?1-p:1):(zTranslation=e.dist*(2*i+p*h),tweenedOpacity=1-.2*(2*i+p*h)),(!e.noWrap||l+i<d)&&(g=r[wrap(l+i)],g.style[b]=v+" translateX("+(e.shift+(c*i-f)/2)+"px) translateZ("+zTranslation+"px)",g.style.zIndex=-i,g.style.opacity=tweenedOpacity,g.style.display="block"),e.fullWidth?(zTranslation=e.dist,tweenedOpacity=i===u&&f>0?1-p:1):(zTranslation=e.dist*(2*i-p*h),tweenedOpacity=1-.2*(2*i-p*h)),(!e.noWrap||l-i>=0)&&(g=r[wrap(l-i)],g.style[b]=v+" translateX("+(-e.shift+(-c*i-f)/2)+"px) translateZ("+zTranslation+"px)",g.style.zIndex=-i,g.style.opacity=tweenedOpacity,g.style.display="block");if((!e.noWrap||l>=0&&l<d)&&(g=r[wrap(l)],g.style[b]=v+" translateX("+-f/2+"px) translateX("+h*e.shift*p+"px) translateZ("+e.dist*p+"px)",g.style.zIndex=0,e.fullWidth?tweenedOpacity=1:tweenedOpacity=1-.2*p,g.style.opacity=tweenedOpacity,g.style.display="block"),y!==l&&"function"==typeof e.onCycleTo){var T=A.find(".carousel-item").eq(wrap(l));e.onCycleTo.call(this,T,C)}}function track(){var t,e,n,i;t=Date.now(),e=t-x,x=t,n=s-w,w=s,i=1e3*n/(1+e),v=.8*i+.2*v}function autoScroll(){var t,n;p&&(t=Date.now()-x,n=p*Math.exp(-t/e.duration),n>2||n<-2?(scroll(g-n),requestAnimationFrame(autoScroll)):scroll(g))}function click(n){if(C)return n.preventDefault(),n.stopPropagation(),!1;if(!e.fullWidth){var i=t(n.target).closest(".carousel-item").index();0!==l%d-i&&(n.preventDefault(),n.stopPropagation()),cycleTo(i)}}function cycleTo(t){var n=l%d-t;e.noWrap||(n<0?Math.abs(n+d)<Math.abs(n)&&(n+=d):n>0&&Math.abs(n-d)<n&&(n-=d)),n<0?A.trigger("carouselNext",[Math.abs(n)]):n>0&&A.trigger("carouselPrev",[n])}function tap(t){t.preventDefault(),u=!0,C=!1,k=!1,f=xpos(t),h=ypos(t),v=p=0,w=s,x=Date.now(),clearInterval(T),T=setInterval(track,100)}function drag(t){var e,n;if(u)if(e=xpos(t),y=ypos(t),n=f-e,Math.abs(h-y)<30&&!k)(n>2||n<-2)&&(C=!0,f=e,scroll(s+n));else{if(C)return t.preventDefault(),t.stopPropagation(),!1;k=!0}if(C)return t.preventDefault(),t.stopPropagation(),!1}function release(t){if(u)return u=!1,clearInterval(T),g=s,(v>10||v<-10)&&(p=.9*v,g=s+p),g=Math.round(g/c)*c,e.noWrap&&(g>=c*(d-1)?g=c*(d-1):g<0&&(g=0)),p=g-s,x=Date.now(),requestAnimationFrame(autoScroll),C&&(t.preventDefault(),t.stopPropagation()),!1}var r,o,a,s,l,u,c,d,f,h,p,g,v,m,b,w,x,T,C,k,E=i+n,S=t('<ul class="indicators"></ul>'),_=null,A=t(this),P=A.attr("data-indicators")||e.indicators;if(e.fullWidth&&(e.dist=0,function(){var e=A.find(".carousel-item img").first();if(e.length)e.prop("complete")?A.css("height",e.height()):e.on("load",function(){A.css("height",t(this).height())});else{var n=A.find(".carousel-item").first().height();A.css("height",n)}}(),P&&A.find(".carousel-fixed-item").addClass("with-indicators")),A.hasClass("initialized"))return t(window).trigger("resize"),t(this).trigger("carouselNext",[1e-6]),!0;A.addClass("initialized"),u=!1,s=g=0,r=[],o=A.find(".carousel-item").first().innerWidth(),a=A.find(".carousel-item").first().innerHeight(),c=2*o+e.padding,A.find(".carousel-item").each(function(e){if(r.push(t(this)[0]),P){var n=t('<li class="indicator-item"></li>');0===e&&n.addClass("active"),n.click(function(e){e.stopPropagation(),cycleTo(t(this).index())}),S.append(n)}}),P&&A.append(S),d=r.length,b="transform",["webkit","Moz","O","ms"].every(function(t){var e=t+"Transform";return void 0===document.body.style[e]||(b=e,!1)}),t(window).off("resize.carousel-"+E).on("resize.carousel-"+E,function(){e.fullWidth?(o=A.find(".carousel-item").first().innerWidth(),a=A.find(".carousel-item").first().innerHeight(),c=2*o+e.padding,s=2*l*o,g=s):scroll()}),function(){void 0!==window.ontouchstart&&(A[0].addEventListener("touchstart",tap),A[0].addEventListener("touchmove",drag),A[0].addEventListener("touchend",release)),A[0].addEventListener("mousedown",tap),A[0].addEventListener("mousemove",drag),A[0].addEventListener("mouseup",release),A[0].addEventListener("mouseleave",release),A[0].addEventListener("click",click)}(),scroll(s),t(this).on("carouselNext",function(t,e){void 0===e&&(e=1),g=c*Math.round(s/c)+c*e,s!==g&&(p=g-s,x=Date.now(),requestAnimationFrame(autoScroll))}),t(this).on("carouselPrev",function(t,e){void 0===e&&(e=1),g=c*Math.round(s/c)-c*e,s!==g&&(p=g-s,x=Date.now(),requestAnimationFrame(autoScroll))}),t(this).on("carouselSet",function(t,e){void 0===e&&(e=0),cycleTo(e)})})},next:function(e){t(this).trigger("carouselNext",[e])},prev:function(e){t(this).trigger("carouselPrev",[e])},set:function(e){t(this).trigger("carouselSet",[e])}};t.fn.carousel=function(n){return e[n]?e[n].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.carousel"):e.init.apply(this,arguments)}}(C),function(t){var e={init:function(e){return this.each(function(){var n=t("#"+t(this).attr("data-activates")),i=(t("body"),t(this)),r=i.parent(".tap-target-wrapper"),o=r.find(".tap-target-wave"),a=r.find(".tap-target-origin"),s=i.find(".tap-target-content");r.length||(r=i.wrap(t('<div class="tap-target-wrapper"></div>')).parent()),s.length||(s=t('<div class="tap-target-content"></div>'),i.append(s)),o.length||(o=t('<div class="tap-target-wave"></div>'),a.length||(a=n.clone(!0,!0),a.addClass("tap-target-origin"),a.removeAttr("id"),a.removeAttr("style"),o.append(a)),r.append(o));var l=function(){r.is(".open")&&(r.removeClass("open"),a.off("click.tapTarget"),t(document).off("click.tapTarget"),t(window).off("resize.tapTarget"))},u=function(){var e="fixed"===n.css("position");if(!e)for(var a=n.parents(),l=0;l<a.length&&!(e="fixed"==t(a[l]).css("position"));l++);var u=n.outerWidth(),c=n.outerHeight(),d=e?n.offset().top-t(document).scrollTop():n.offset().top,f=e?n.offset().left-t(document).scrollLeft():n.offset().left,h=t(window).width(),p=t(window).height(),g=h/2,v=p/2,m=f<=g,y=f>g,b=d<=v,w=d>v,x=f>=.25*h&&f<=.75*h,T=i.outerWidth(),C=i.outerHeight(),k=d+c/2-C/2,E=f+u/2-T/2,S=e?"fixed":"absolute",_=x?T:T/2+u,A=C/2,P=b?C/2:0,D=m&&!x?T/2-u:0,O=u,N=w?"bottom":"top",M=2*u,I=M,R=C/2-I/2,L=T/2-M/2,z={};z.top=b?k:"",z.right=y?h-E-T:"",z.bottom=w?p-k-C:"",z.left=m?E:"",z.position=S,r.css(z),s.css({width:_,height:A,top:P,right:0,bottom:0,left:D,padding:O,verticalAlign:N}),o.css({top:R,left:L,width:M,height:I})};"open"==e&&(u(),function(){r.is(".open")||(r.addClass("open"),setTimeout(function(){a.off("click.tapTarget").on("click.tapTarget",function(t){l(),a.off("click.tapTarget")}),t(document).off("click.tapTarget").on("click.tapTarget",function(e){l(),t(document).off("click.tapTarget")});var e=Materialize.throttle(function(){u()},200);t(window).off("resize.tapTarget").on("resize.tapTarget",e)},0))}()),"close"==e&&l()})},open:function(){},close:function(){}};t.fn.tapTarget=function(n){if(e[n]||"object"==typeof n)return e.init.apply(this,arguments);t.error("Method "+n+" does not exist on jQuery.tap-target")}}(C)}).call(i,a(0),a(0))},,,function(t,e,n){"use strict";var i=n(0),r=function(t){return t&&t.__esModule?t:{default:t}}(i);n(49),n(50),n(21);var o=n(45);n(44),n(43),n(48),(0,r.default)(document).ready(function(){(0,r.default)(".button-collapse").sideNav(),(0,r.default)("select").material_select(),(0,r.default)(".collapsible").collapsible({accordion:!1}),(0,r.default)(".datepicker").pickadate({selectMonths:!0,selectYears:15,formatSubmit:"dd/mm/yyyy",hiddenName:!0,format:"dd/mm/yyyy",container:"body"}),(0,o.initFilters)(),(0,o.initExport)(),(0,o.initNotifications)(),(0,r.default)("#nav-btn-add-tag").on("click",function(){return(0,r.default)(".nav-panel-add-tag").toggle(100),(0,r.default)(".nav-panel-menu").addClass("hidden"),(0,r.default)("#tag_label").focus(),!1}),(0,r.default)("#nav-btn-add").on("click",function(){return(0,r.default)(".nav-panel-buttom").hide(100),(0,r.default)(".nav-panel-add").show(100),(0,r.default)(".nav-panels .action").hide(100),(0,r.default)(".nav-panel-menu").addClass("hidden"),(0,r.default)(".nav-panels").css("background","white"),(0,r.default)("#entry_url").focus(),!1}),(0,r.default)("#nav-btn-search").on("click",function(){return(0,r.default)(".nav-panel-buttom").hide(100),(0,r.default)(".nav-panel-search").show(100),(0,r.default)(".nav-panels .action").hide(100),(0,r.default)(".nav-panel-menu").addClass("hidden"),(0,r.default)(".nav-panels").css("background","white"),(0,r.default)("#search_entry_term").focus(),!1}),(0,r.default)(".close").on("click",function(){return(0,r.default)(".nav-panel-add").hide(100),(0,r.default)(".nav-panel-search").hide(100),(0,r.default)(".nav-panel-buttom").show(100),(0,r.default)(".nav-panels .action").show(100),(0,r.default)(".nav-panel-menu").removeClass("hidden"),(0,r.default)(".nav-panels").css("background","transparent"),!1}),(0,r.default)(window).scroll(function(){var t=(0,r.default)(window).scrollTop(),e=(0,r.default)(document).height(),n=(0,r.default)(window).height(),i=t/(e-n)*100;(0,r.default)(".progress .determinate").css("width",i+"%")})})},function(t,e,n){var i;!function(r,o,a,s){"use strict";function setTimeoutContext(t,e,n){return setTimeout(bindFn(t,n),e)}function invokeArrayArg(t,e,n){return!!Array.isArray(t)&&(each(t,n[e],n),!0)}function each(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==s)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function deprecate(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}function inherit(t,e,n){var i,r=e.prototype;i=t.prototype=Object.create(r),i.constructor=t,i._super=r,n&&l(i,n)}function bindFn(t,e){return function(){return t.apply(e,arguments)}}function boolOrFn(t,e){return typeof t==d?t.apply(e?e[0]||s:s,e):t}function ifUndefined(t,e){return t===s?e:t}function addEventListeners(t,e,n){each(splitStr(e),function(e){t.addEventListener(e,n,!1)})}function removeEventListeners(t,e,n){each(splitStr(e),function(e){t.removeEventListener(e,n,!1)})}function hasParent(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function inStr(t,e){return t.indexOf(e)>-1}function splitStr(t){return t.trim().split(/\s+/g)}function inArray(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function toArray(t){return Array.prototype.slice.call(t,0)}function uniqueArray(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var a=e?t[o][e]:t[o];inArray(r,a)<0&&i.push(t[o]),r[o]=a,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function prefixed(t,e){for(var n,i,r=e[0].toUpperCase()+e.slice(1),o=0;o<u.length;){if(n=u[o],(i=n?n+r:e)in t)return i;o++}return s}function uniqueId(){return m++}function getWindowForElement(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}function Input(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){boolOrFn(t.options.enable,[t])&&n.handler(e)},this.init()}function createInputInstance(t){var e=t.options.inputClass;return new(e||(w?PointerEventInput:x?TouchInput:b?TouchMouseInput:MouseInput))(t,inputHandler)}function inputHandler(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&C&&i-r==0,a=e&(E|S)&&i-r==0;n.isFirst=!!o,n.isFinal=!!a,o&&(t.session={}),n.eventType=e,computeInputData(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function computeInputData(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=simpleCloneInputData(e)),r>1&&!n.firstMultiple?n.firstMultiple=simpleCloneInputData(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,s=a?a.center:o.center,l=e.center=getCenter(i);e.timeStamp=p(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=getAngle(s,l),e.distance=getDistance(s,l),computeDeltaXY(n,e),e.offsetDirection=getDirection(e.deltaX,e.deltaY);var u=getVelocity(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=h(u.x)>h(u.y)?u.x:u.y,e.scale=a?getScale(a.pointers,i):1,e.rotation=a?getRotation(a.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,computeIntervalInputData(n,e);var c=t.element;hasParent(e.srcEvent.target,c)&&(c=e.srcEvent.target),e.target=c}function computeDeltaXY(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==C&&o.eventType!==E||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function computeIntervalInputData(t,e){var n,i,r,o,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=S&&(l>T||a.velocity===s)){var u=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,d=getVelocity(l,u,c);i=d.x,r=d.y,n=h(d.x)>h(d.y)?d.x:d.y,o=getDirection(u,c),t.lastInterval=e}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;e.velocity=n,e.velocityX=i,e.velocityY=r,e.direction=o}function simpleCloneInputData(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:f(t.pointers[n].clientX),clientY:f(t.pointers[n].clientY)},n++;return{timeStamp:p(),pointers:e,center:getCenter(e),deltaX:t.deltaX,deltaY:t.deltaY}}function getCenter(t){var e=t.length;if(1===e)return{x:f(t[0].clientX),y:f(t[0].clientY)};for(var n=0,i=0,r=0;r<e;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:f(n/e),y:f(i/e)}}function getVelocity(t,e,n){return{x:e/t||0,y:n/t||0}}function getDirection(t,e){return t===e?_:h(t)>=h(e)?t<0?A:P:e<0?D:O}function getDistance(t,e,n){n||(n=R);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function getAngle(t,e,n){n||(n=R);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function getRotation(t,e){return getAngle(e[1],e[0],L)+getAngle(t[1],t[0],L)}function getScale(t,e){return getDistance(e[0],e[1],L)/getDistance(t[0],t[1],L)}function MouseInput(){this.evEl=F,this.evWin=q,this.pressed=!1,Input.apply(this,arguments)}function PointerEventInput(){this.evEl=W,this.evWin=B,Input.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function SingleTouchInput(){this.evTarget=X,this.evWin=$,this.started=!1,Input.apply(this,arguments)}function normalizeSingleTouches(t,e){var n=toArray(t.touches),i=toArray(t.changedTouches);return e&(E|S)&&(n=uniqueArray(n.concat(i),"identifier",!0)),[n,i]}function TouchInput(){this.evTarget=U,this.targetIds={},Input.apply(this,arguments)}function getTouches(t,e){var n=toArray(t.touches),i=this.targetIds;if(e&(C|k)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=toArray(t.changedTouches),s=[],l=this.target;if(o=n.filter(function(t){return hasParent(t.target,l)}),e===C)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),e&(E|S)&&delete i[a[r].identifier],r++;return s.length?[uniqueArray(o.concat(s),"identifier",!0),s]:void 0}function TouchMouseInput(){Input.apply(this,arguments);var t=bindFn(this.handler,this);this.touch=new TouchInput(this.manager,t),this.mouse=new MouseInput(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function recordTouches(t,e){t&C?(this.primaryTouch=e.changedPointers[0].identifier,setLastTouch.call(this,e)):t&(E|S)&&setLastTouch.call(this,e)}function setLastTouch(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches,r=function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)};setTimeout(r,Q)}}function isSyntheticEvent(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),a=Math.abs(n-r.y);if(o<=G&&a<=G)return!0}return!1}function TouchAction(t,e){this.manager=t,this.set(e)}function cleanTouchActions(t){if(inStr(t,et))return et;var e=inStr(t,nt),n=inStr(t,it);return e&&n?et:e||n?e?nt:it:inStr(t,tt)?tt:Z}function Recognizer(t){this.options=l({},this.defaults,t||{}),this.id=uniqueId(),this.manager=null,this.options.enable=ifUndefined(this.options.enable,!0),this.state=ot,this.simultaneous={},this.requireFail=[]}function stateStr(t){return t&ct?"cancel":t<?"end":t&st?"move":t&at?"start":""}function directionStr(t){return t==O?"down":t==D?"up":t==A?"left":t==P?"right":""}function getRecognizerByNameIfManager(t,e){var n=e.manager;return n?n.get(t):t}function AttrRecognizer(){Recognizer.apply(this,arguments)}function PanRecognizer(){AttrRecognizer.apply(this,arguments),this.pX=null,this.pY=null}function PinchRecognizer(){AttrRecognizer.apply(this,arguments)}function PressRecognizer(){Recognizer.apply(this,arguments),this._timer=null,this._input=null}function RotateRecognizer(){AttrRecognizer.apply(this,arguments)}function SwipeRecognizer(){AttrRecognizer.apply(this,arguments)}function TapRecognizer(){Recognizer.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Hammer(t,e){return e=e||{},e.recognizers=ifUndefined(e.recognizers,Hammer.defaults.preset),new Manager(t,e)}function Manager(t,e){this.options=l({},Hammer.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=createInputInstance(this),this.touchAction=new TouchAction(this,this.options.touchAction),toggleCssProps(this,!0),each(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function toggleCssProps(t,e){var n=t.element;if(n.style){var i;each(t.options.cssProps,function(r,o){i=prefixed(n.style,o),e?(t.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=t.oldCssProps[i]||""}),e||(t.oldCssProps={})}}function triggerDomEvent(t,e){var n=o.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),d="function",f=Math.round,h=Math.abs,p=Date.now;l="function"!=typeof Object.assign?function(t){if(t===s||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])}return e}:Object.assign;var g=deprecate(function(t,e,n){for(var i=Object.keys(e),r=0;r<i.length;)(!n||n&&t[i[r]]===s)&&(t[i[r]]=e[i[r]]),r++;return t},"extend","Use `assign`."),v=deprecate(function(t,e){return g(t,e,!0)},"merge","Use `assign`."),m=1,y=/mobile|tablet|ip(ad|hone|od)|android/i,b="ontouchstart"in r,w=prefixed(r,"PointerEvent")!==s,x=b&&y.test(navigator.userAgent),T=25,C=1,k=2,E=4,S=8,_=1,A=2,P=4,D=8,O=16,N=A|P,M=D|O,I=N|M,R=["x","y"],L=["clientX","clientY"];Input.prototype={handler:function(){},init:function(){this.evEl&&addEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&addEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&addEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&removeEventListeners(this.element,this.evEl,this.domHandler),this.evTarget&&removeEventListeners(this.target,this.evTarget,this.domHandler),this.evWin&&removeEventListeners(getWindowForElement(this.element),this.evWin,this.domHandler)}};var z={mousedown:C,mousemove:k,mouseup:E},F="mousedown",q="mousemove mouseup";inherit(MouseInput,Input,{handler:function(t){var e=z[t.type];e&C&&0===t.button&&(this.pressed=!0),e&k&&1!==t.which&&(e=E),this.pressed&&(e&E&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var H={pointerdown:C,pointermove:k,pointerup:E,pointercancel:S,pointerout:S},j={2:"touch",3:"pen",4:"mouse",5:"kinect"},W="pointerdown",B="pointermove pointerup pointercancel";r.MSPointerEvent&&!r.PointerEvent&&(W="MSPointerDown",B="MSPointerMove MSPointerUp MSPointerCancel"),inherit(PointerEventInput,Input,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=H[i],o=j[t.pointerType]||t.pointerType,a="touch"==o,s=inArray(e,t.pointerId,"pointerId");r&C&&(0===t.button||a)?s<0&&(e.push(t),s=e.length-1):r&(E|S)&&(n=!0),s<0||(e[s]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(s,1))}});var V={touchstart:C,touchmove:k,touchend:E,touchcancel:S},X="touchstart",$="touchstart touchmove touchend touchcancel";inherit(SingleTouchInput,Input,{handler:function(t){var e=V[t.type];if(e===C&&(this.started=!0),this.started){var n=normalizeSingleTouches.call(this,t,e);e&(E|S)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var Y={touchstart:C,touchmove:k,touchend:E,touchcancel:S},U="touchstart touchmove touchend touchcancel";inherit(TouchInput,Input,{handler:function(t){var e=Y[t.type],n=getTouches.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}});var Q=2500,G=25;inherit(TouchMouseInput,Input,{handler:function(t,e,n){var i="touch"==n.pointerType,r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)recordTouches.call(this,e,n);else if(r&&isSyntheticEvent.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var K=prefixed(c.style,"touchAction"),J=K!==s,Z="auto",tt="manipulation",et="none",nt="pan-x",it="pan-y",rt=function(){if(!J)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){t[n]=!e||r.CSS.supports("touch-action",n)}),t}();TouchAction.prototype={set:function(t){"compute"==t&&(t=this.compute()),J&&this.manager.element.style&&rt[t]&&(this.manager.element.style[K]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return each(this.manager.recognizers,function(e){boolOrFn(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),cleanTouchActions(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var i=this.actions,r=inStr(i,et)&&!rt[et],o=inStr(i,it)&&!rt[it],a=inStr(i,nt)&&!rt[nt];if(r){var s=1===t.pointers.length,l=t.distance<2,u=t.deltaTime<250;if(s&&l&&u)return}return a&&o?void 0:r||o&&n&N||a&&n&M?this.preventSrc(e):void 0},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var ot=1,at=2,st=4,lt=8,ut=lt,ct=16;Recognizer.prototype={defaults:{},set:function(t){return l(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(invokeArrayArg(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=getRecognizerByNameIfManager(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return invokeArrayArg(t,"dropRecognizeWith",this)?this:(t=getRecognizerByNameIfManager(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(invokeArrayArg(t,"requireFailure",this))return this;var e=this.requireFail;return t=getRecognizerByNameIfManager(t,this),-1===inArray(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(invokeArrayArg(t,"dropRequireFailure",this))return this;t=getRecognizerByNameIfManager(t,this);var e=inArray(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function emit(n){e.manager.emit(n,t)}var e=this,n=this.state;n<lt&&emit(e.options.event+stateStr(n)),emit(e.options.event),t.additionalEvent&&emit(t.additionalEvent),n>=lt&&emit(e.options.event+stateStr(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|ot)))return!1;t++}return!0},recognize:function(t){var e=l({},t);if(!boolOrFn(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(ut|ct|32)&&(this.state=ot),this.state=this.process(e),this.state&(at|st|lt|ct)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},inherit(AttrRecognizer,Recognizer,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(at|st),r=this.attrTest(t);return i&&(n&S||!r)?e|ct:i||r?n&E?e|lt:e&at?e|st:at:32}}),inherit(PanRecognizer,AttrRecognizer,{defaults:{event:"pan",threshold:10,pointers:1,direction:I},getTouchAction:function(){var t=this.options.direction,e=[];return t&N&&e.push(it),t&M&&e.push(nt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,a=t.deltaY;return r&e.direction||(e.direction&N?(r=0===o?_:o<0?A:P,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===a?_:a<0?D:O,n=a!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return AttrRecognizer.prototype.attrTest.call(this,t)&&(this.state&at||!(this.state&at)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=directionStr(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),inherit(PinchRecognizer,AttrRecognizer,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[et]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&at)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),inherit(PressRecognizer,Recognizer,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Z]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(E|S)&&!r)this.reset();else if(t.eventType&C)this.reset(),this._timer=setTimeoutContext(function(){this.state=ut,this.tryEmit()},e.time,this);else if(t.eventType&E)return ut;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ut&&(t&&t.eventType&E?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=p(),this.manager.emit(this.options.event,this._input)))}}),inherit(RotateRecognizer,AttrRecognizer,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[et]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&at)}}),inherit(SwipeRecognizer,AttrRecognizer,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:N|M,pointers:1},getTouchAction:function(){return PanRecognizer.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(N|M)?e=t.overallVelocity:n&N?e=t.overallVelocityX:n&M&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&h(e)>this.options.velocity&&t.eventType&E},emit:function(t){var e=directionStr(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),inherit(TapRecognizer,Recognizer,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[tt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&C&&0===this.count)return this.failTimeout();if(i&&r&&n){if(t.eventType!=E)return this.failTimeout();var o=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||getDistance(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,a&&o?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=setTimeoutContext(function(){this.state=ut,this.tryEmit()},e.interval,this),at):ut}return 32},failTimeout:function(){return this._timer=setTimeoutContext(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ut&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Hammer.VERSION="2.0.7",Hammer.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[RotateRecognizer,{enable:!1}],[PinchRecognizer,{enable:!1},["rotate"]],[SwipeRecognizer,{direction:N}],[PanRecognizer,{direction:N},["swipe"]],[TapRecognizer],[TapRecognizer,{event:"doubletap",taps:2},["tap"]],[PressRecognizer]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};Manager.prototype={set:function(t){return l(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&ut)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(at|st|lt)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof Recognizer)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(invokeArrayArg(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(invokeArrayArg(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=inArray(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==s&&e!==s){var n=this.handlers;return each(splitStr(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==s){var n=this.handlers;return each(splitStr(t),function(t){e?n[t]&&n[t].splice(inArray(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&triggerDomEvent(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&toggleCssProps(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Hammer,{INPUT_START:C,INPUT_MOVE:k,INPUT_END:E,INPUT_CANCEL:S,STATE_POSSIBLE:ot,STATE_BEGAN:at,STATE_CHANGED:st,STATE_ENDED:lt,STATE_RECOGNIZED:ut,STATE_CANCELLED:ct,STATE_FAILED:32,DIRECTION_NONE:_,DIRECTION_LEFT:A,DIRECTION_RIGHT:P,DIRECTION_UP:D,DIRECTION_DOWN:O,DIRECTION_HORIZONTAL:N,DIRECTION_VERTICAL:M,DIRECTION_ALL:I,Manager:Manager,Input:Input,TouchAction:TouchAction,TouchInput:TouchInput,MouseInput:MouseInput,PointerEventInput:PointerEventInput,TouchMouseInput:TouchMouseInput,SingleTouchInput:SingleTouchInput,Recognizer:Recognizer,AttrRecognizer:AttrRecognizer,Tap:TapRecognizer,Pan:PanRecognizer,Swipe:SwipeRecognizer,Pinch:PinchRecognizer,Rotate:RotateRecognizer,Press:PressRecognizer,on:addEventListeners,off:removeEventListeners,each:each,merge:v,extend:g,assign:l,inherit:inherit,bindFn:bindFn,prefixed:prefixed}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Hammer,(i=function(){return Hammer}.call(e,n,e,t))!==s&&(t.exports=i)}(window,document)},function(t,e){(function(e){t.exports=e}).call(e,{})}]); \ No newline at end of file | ||